ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.200.0

This commit is contained in:
speakeasybot
2024-03-04 00:53:59 +00:00
parent be42385d2e
commit a91fbac7f4
506 changed files with 25834 additions and 0 deletions

View File

@@ -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
}
}