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

74 lines
1.7 KiB
TypeScript
Raw Normal View History

2023-04-15 22:02:40 +02:00
/**
* 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 { DynamicDayOfWeek } from './dynamicDayOfWeek';
/**
* An entity representing a user\'s access schedule.
*/
export class AccessSchedule {
/**
* Gets the id of this instance.
*/
'id'?: number;
/**
* Gets the id of the associated user.
*/
'userId'?: string;
'dayOfWeek'?: DynamicDayOfWeek;
/**
* Gets or sets the start hour.
*/
'startHour'?: number;
/**
* Gets or sets the end hour.
*/
'endHour'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "Id",
"type": "number"
},
{
"name": "userId",
"baseName": "UserId",
"type": "string"
},
{
"name": "dayOfWeek",
"baseName": "DayOfWeek",
"type": "DynamicDayOfWeek"
},
{
"name": "startHour",
"baseName": "StartHour",
"type": "number"
},
{
"name": "endHour",
"baseName": "EndHour",
"type": "number"
} ];
static getAttributeTypeMap() {
return AccessSchedule.attributeTypeMap;
}
}
export namespace AccessSchedule {
}