Files
plexswift/Sources/Plexswift/models/operations/UpdatePlaylistRequest.swift
2024-04-11 11:10:38 -05:00

34 lines
1.1 KiB
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct UpdatePlaylistRequest: APIValue {
/// the ID of the playlist
@DecimalSerialized
public private(set) var playlistID: Double
/// summary description of the playlist
public let summary: String?
/// name of the playlist
public let title: String?
/// Creates an object with the specified parameters
///
/// - Parameter playlistID: the ID of the playlist
/// - Parameter summary: summary description of the playlist
/// - Parameter title: name of the playlist
///
public init(playlistID: Double, summary: String? = nil, title: String? = nil) {
self._playlistID = DecimalSerialized<Double>(wrappedValue: playlistID)
self.summary = summary
self.title = title
}
}
}
extension Operations.UpdatePlaylistRequest {
var playlistIDWrapper: DecimalSerialized<Double> {
return _playlistID
}
}