ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.130.1

This commit is contained in:
speakeasybot
2024-01-05 00:56:45 +00:00
parent eea0241e81
commit 9bad33ddc8
388 changed files with 19251 additions and 3 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.TypeModel
/// the play queue to copy to a playlist
@DecimalSerialized
public private(set) var playQueueID: Double?
/// the content URI for the playlist
public let uri: String?
/// 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 playQueueID: the play queue to copy to a playlist
/// - Parameter uri: the content URI for the playlist
///
public init(smart: Operations.Smart, title: String, type: Operations.TypeModel, playQueueID: Double? = nil, uri: String? = nil) {
self.smart = smart
self.title = title
self.type = type
self._playQueueID = DecimalSerialized<Double?>(wrappedValue: playQueueID)
self.uri = uri
}
}
}
extension Operations.CreatePlaylistRequest {
var playQueueIDWrapper: DecimalSerialized<Double?> {
return _playQueueID
}
}