jellyfin-discord-bot/jellyfin/model/createPlaylistDto.ts

65 lines
1.5 KiB
TypeScript

/**
* Jellyfin API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 10.8.9
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* Create new playlist dto.
*/
export class CreatePlaylistDto {
/**
* Gets or sets the name of the new playlist.
*/
'name'?: string | null;
/**
* Gets or sets item ids to add to the playlist.
*/
'ids'?: Array<string>;
/**
* Gets or sets the user id.
*/
'userId'?: string | null;
/**
* Gets or sets the media type.
*/
'mediaType'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "ids",
"baseName": "Ids",
"type": "Array<string>"
},
{
"name": "userId",
"baseName": "UserId",
"type": "string"
},
{
"name": "mediaType",
"baseName": "MediaType",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePlaylistDto.attributeTypeMap;
}
}