mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 20:57:47 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.161.0
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user