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

268 lines
6.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 { KeepUntil } from './keepUntil';
import { RecordingStatus } from './recordingStatus';
import { TimerInfoDtoProgramInfo } from './timerInfoDtoProgramInfo';
export class CreateTimerRequest {
/**
* Gets or sets the Id of the recording.
*/
'id'?: string | null;
'type'?: string | null;
/**
* Gets or sets the server identifier.
*/
'serverId'?: string | null;
/**
* Gets or sets the external identifier.
*/
'externalId'?: string | null;
/**
* Gets or sets the channel id of the recording.
*/
'channelId'?: string;
/**
* Gets or sets the external channel identifier.
*/
'externalChannelId'?: string | null;
/**
* Gets or sets the channel name of the recording.
*/
'channelName'?: string | null;
'channelPrimaryImageTag'?: string | null;
/**
* Gets or sets the program identifier.
*/
'programId'?: string | null;
/**
* Gets or sets the external program identifier.
*/
'externalProgramId'?: string | null;
/**
* Gets or sets the name of the recording.
*/
'name'?: string | null;
/**
* Gets or sets the description of the recording.
*/
'overview'?: string | null;
/**
* Gets or sets the start date of the recording, in UTC.
*/
'startDate'?: Date;
/**
* Gets or sets the end date of the recording, in UTC.
*/
'endDate'?: Date;
/**
* Gets or sets the name of the service.
*/
'serviceName'?: string | null;
/**
* Gets or sets the priority.
*/
'priority'?: number;
/**
* Gets or sets the pre padding seconds.
*/
'prePaddingSeconds'?: number;
/**
* Gets or sets the post padding seconds.
*/
'postPaddingSeconds'?: number;
/**
* Gets or sets a value indicating whether this instance is pre padding required.
*/
'isPrePaddingRequired'?: boolean;
/**
* Gets or sets the Id of the Parent that has a backdrop if the item does not have one.
*/
'parentBackdropItemId'?: string | null;
/**
* Gets or sets the parent backdrop image tags.
*/
'parentBackdropImageTags'?: Array<string> | null;
/**
* Gets or sets a value indicating whether this instance is post padding required.
*/
'isPostPaddingRequired'?: boolean;
'keepUntil'?: KeepUntil;
'status'?: RecordingStatus;
/**
* Gets or sets the series timer identifier.
*/
'seriesTimerId'?: string | null;
/**
* Gets or sets the external series timer identifier.
*/
'externalSeriesTimerId'?: string | null;
/**
* Gets or sets the run time ticks.
*/
'runTimeTicks'?: number | null;
'programInfo'?: TimerInfoDtoProgramInfo | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "type",
"baseName": "Type",
"type": "string"
},
{
"name": "serverId",
"baseName": "ServerId",
"type": "string"
},
{
"name": "externalId",
"baseName": "ExternalId",
"type": "string"
},
{
"name": "channelId",
"baseName": "ChannelId",
"type": "string"
},
{
"name": "externalChannelId",
"baseName": "ExternalChannelId",
"type": "string"
},
{
"name": "channelName",
"baseName": "ChannelName",
"type": "string"
},
{
"name": "channelPrimaryImageTag",
"baseName": "ChannelPrimaryImageTag",
"type": "string"
},
{
"name": "programId",
"baseName": "ProgramId",
"type": "string"
},
{
"name": "externalProgramId",
"baseName": "ExternalProgramId",
"type": "string"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "overview",
"baseName": "Overview",
"type": "string"
},
{
"name": "startDate",
"baseName": "StartDate",
"type": "Date"
},
{
"name": "endDate",
"baseName": "EndDate",
"type": "Date"
},
{
"name": "serviceName",
"baseName": "ServiceName",
"type": "string"
},
{
"name": "priority",
"baseName": "Priority",
"type": "number"
},
{
"name": "prePaddingSeconds",
"baseName": "PrePaddingSeconds",
"type": "number"
},
{
"name": "postPaddingSeconds",
"baseName": "PostPaddingSeconds",
"type": "number"
},
{
"name": "isPrePaddingRequired",
"baseName": "IsPrePaddingRequired",
"type": "boolean"
},
{
"name": "parentBackdropItemId",
"baseName": "ParentBackdropItemId",
"type": "string"
},
{
"name": "parentBackdropImageTags",
"baseName": "ParentBackdropImageTags",
"type": "Array<string>"
},
{
"name": "isPostPaddingRequired",
"baseName": "IsPostPaddingRequired",
"type": "boolean"
},
{
"name": "keepUntil",
"baseName": "KeepUntil",
"type": "KeepUntil"
},
{
"name": "status",
"baseName": "Status",
"type": "RecordingStatus"
},
{
"name": "seriesTimerId",
"baseName": "SeriesTimerId",
"type": "string"
},
{
"name": "externalSeriesTimerId",
"baseName": "ExternalSeriesTimerId",
"type": "string"
},
{
"name": "runTimeTicks",
"baseName": "RunTimeTicks",
"type": "number"
},
{
"name": "programInfo",
"baseName": "ProgramInfo",
"type": "TimerInfoDtoProgramInfo"
} ];
static getAttributeTypeMap() {
return CreateTimerRequest.attributeTypeMap;
}
}
export namespace CreateTimerRequest {
}