mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-10 04:21:03 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
@@ -8,26 +8,33 @@ extension Operations {
|
||||
/// the ID of the playlist
|
||||
@DecimalSerialized
|
||||
public private(set) var playlistID: Double
|
||||
/// the metadata type of the item to return
|
||||
@DecimalSerialized
|
||||
public private(set) var type: Double
|
||||
/// The type of media to retrieve.
|
||||
/// 1 = movie
|
||||
/// 2 = show
|
||||
/// 3 = season
|
||||
/// 4 = episode
|
||||
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
||||
///
|
||||
public let type: Operations.GetPlaylistContentsQueryParamType
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter playlistID: the ID of the playlist
|
||||
/// - Parameter type: the metadata type of the item to return
|
||||
/// - Parameter type: The type of media to retrieve.
|
||||
/// 1 = movie
|
||||
/// 2 = show
|
||||
/// 3 = season
|
||||
/// 4 = episode
|
||||
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
||||
///
|
||||
///
|
||||
public init(playlistID: Double, type: Double) {
|
||||
public init(playlistID: Double, type: Operations.GetPlaylistContentsQueryParamType) {
|
||||
self._playlistID = DecimalSerialized<Double>(wrappedValue: playlistID)
|
||||
self._type = DecimalSerialized<Double>(wrappedValue: type)
|
||||
self.type = type
|
||||
}
|
||||
}
|
||||
}
|
||||
}}
|
||||
extension Operations.GetPlaylistContentsRequest {
|
||||
var playlistIDWrapper: DecimalSerialized<Double> {
|
||||
return _playlistID
|
||||
}
|
||||
var typeWrapper: DecimalSerialized<Double> {
|
||||
return _type
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user