jellyfin-discord-bot/jellyfin/model/sendCommand.ts
2023-04-15 22:02:40 +02:00

83 lines
1.9 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';
import { SendCommandType } from './sendCommandType';
/**
* Class SendCommand.
*/
export class SendCommand {
/**
* Gets the group identifier.
*/
'groupId'?: string;
/**
* Gets the playlist identifier of the playing item.
*/
'playlistItemId'?: string;
/**
* Gets or sets the UTC time when to execute the command.
*/
'when'?: Date;
/**
* Gets the position ticks.
*/
'positionTicks'?: number | null;
'command'?: SendCommandType;
/**
* Gets the UTC time when this command has been emitted.
*/
'emittedAt'?: Date;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "groupId",
"baseName": "GroupId",
"type": "string"
},
{
"name": "playlistItemId",
"baseName": "PlaylistItemId",
"type": "string"
},
{
"name": "when",
"baseName": "When",
"type": "Date"
},
{
"name": "positionTicks",
"baseName": "PositionTicks",
"type": "number"
},
{
"name": "command",
"baseName": "Command",
"type": "SendCommandType"
},
{
"name": "emittedAt",
"baseName": "EmittedAt",
"type": "Date"
} ];
static getAttributeTypeMap() {
return SendCommand.attributeTypeMap;
}
}
export namespace SendCommand {
}