mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
33 lines
1.1 KiB
Swift
33 lines
1.1 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). 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
|
|
}
|
|
}
|