Files
plexswift/Sources/Plexswift/models/operations/GetPlaylistsRequest.swift

24 lines
832 B
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). 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
}
}
}