jellyfin-discord-bot/server/jellyfin/models/DynamicDayOfWeek.ts

47 lines
1.2 KiB
TypeScript

/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
* An enum that represents a day of the week, weekdays, weekends, or all days.
* @export
*/
export const DynamicDayOfWeek = {
Sunday: 'Sunday',
Monday: 'Monday',
Tuesday: 'Tuesday',
Wednesday: 'Wednesday',
Thursday: 'Thursday',
Friday: 'Friday',
Saturday: 'Saturday',
Everyday: 'Everyday',
Weekday: 'Weekday',
Weekend: 'Weekend'
} as const;
export type DynamicDayOfWeek = typeof DynamicDayOfWeek[keyof typeof DynamicDayOfWeek];
export function DynamicDayOfWeekFromJSON(json: any): DynamicDayOfWeek {
return DynamicDayOfWeekFromJSONTyped(json, false);
}
export function DynamicDayOfWeekFromJSONTyped(json: any, ignoreDiscriminator: boolean): DynamicDayOfWeek {
return json as DynamicDayOfWeek;
}
export function DynamicDayOfWeekToJSON(value?: DynamicDayOfWeek | null): any {
return value as any;
}