mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
23 lines
828 B
Swift
23 lines
828 B
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetPlaylistsRequest: APIValue {
|
|
/// limit to a type of playlist.
|
|
public let playlistType: Operations.PlaylistType?
|
|
/// type of playlists to return (default is all).
|
|
public let smart: Operations.QueryParamSmart?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter playlistType: limit to a type of playlist.
|
|
/// - Parameter smart: type of playlists to return (default is all).
|
|
///
|
|
public init(playlistType: Operations.PlaylistType? = nil, smart: Operations.QueryParamSmart? = nil) {
|
|
self.playlistType = playlistType
|
|
self.smart = smart
|
|
}
|
|
}}
|