mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.200.0
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct CreatePlaylistRequest: APIValue {
|
||||
/// whether the playlist is smart or not
|
||||
public let smart: Operations.Smart
|
||||
/// name of the playlist
|
||||
public let title: String
|
||||
/// type of playlist to create
|
||||
public let type: Operations.QueryParamType
|
||||
/// the content URI for the playlist
|
||||
public let uri: String
|
||||
/// the play queue to copy to a playlist
|
||||
@DecimalSerialized
|
||||
public private(set) var playQueueID: Double?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter smart: whether the playlist is smart or not
|
||||
/// - Parameter title: name of the playlist
|
||||
/// - Parameter type: type of playlist to create
|
||||
/// - Parameter uri: the content URI for the playlist
|
||||
/// - Parameter playQueueID: the play queue to copy to a playlist
|
||||
///
|
||||
public init(smart: Operations.Smart, title: String, type: Operations.QueryParamType, uri: String, playQueueID: Double? = nil) {
|
||||
self.smart = smart
|
||||
self.title = title
|
||||
self.type = type
|
||||
self.uri = uri
|
||||
self._playQueueID = DecimalSerialized<Double?>(wrappedValue: playQueueID)
|
||||
}
|
||||
}
|
||||
}
|
||||
extension Operations.CreatePlaylistRequest {
|
||||
var playQueueIDWrapper: DecimalSerialized<Double?> {
|
||||
return _playQueueID
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user