74 lines
1.7 KiB
TypeScript
74 lines
1.7 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 { 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 {
|
|
}
|