// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. import Foundation extension Operations { /// A model object public struct GetPlaylistContentsRequest: APIValue { /// the ID of the playlist @DecimalSerialized public private(set) var playlistID: Double /// The type of media to retrieve or filter by. /// 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 type of media to retrieve or filter by. /// 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: Operations.GetPlaylistContentsQueryParamType) { self._playlistID = DecimalSerialized(wrappedValue: playlistID) self.type = type } }} extension Operations.GetPlaylistContentsRequest { var playlistIDWrapper: DecimalSerialized { return _playlistID } }