Regeneration

This commit is contained in:
Luke Hagar
2024-04-11 11:10:38 -05:00
parent 5c1a849e2e
commit d4c7b32e80
502 changed files with 25175 additions and 22 deletions

View File

@@ -0,0 +1,37 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct AddPlaylistContentsRequest: APIValue {
/// the ID of the playlist
@DecimalSerialized
public private(set) var playlistID: Double
/// the content URI for the playlist
public let uri: String
/// the play queue to add to a playlist
@DecimalSerialized
public private(set) var playQueueID: Double?
/// Creates an object with the specified parameters
///
/// - Parameter playlistID: the ID of the playlist
/// - Parameter uri: the content URI for the playlist
/// - Parameter playQueueID: the play queue to add to a playlist
///
public init(playlistID: Double, uri: String, playQueueID: Double? = nil) {
self._playlistID = DecimalSerialized<Double>(wrappedValue: playlistID)
self.uri = uri
self._playQueueID = DecimalSerialized<Double?>(wrappedValue: playQueueID)
}
}
}
extension Operations.AddPlaylistContentsRequest {
var playlistIDWrapper: DecimalSerialized<Double> {
return _playlistID
}
var playQueueIDWrapper: DecimalSerialized<Double?> {
return _playQueueID
}
}