/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export */ export const ReminderUnit = { Minutes: 'MINUTES', Hours: 'HOURS', Days: 'DAYS', Weeks: 'WEEKS' } as const; export type ReminderUnit = typeof ReminderUnit[keyof typeof ReminderUnit]; export function instanceOfReminderUnit(value: any): boolean { for (const key in ReminderUnit) { if (Object.prototype.hasOwnProperty.call(ReminderUnit, key)) { if (ReminderUnit[key as keyof typeof ReminderUnit] === value) { return true; } } } return false; } export function ReminderUnitFromJSON(json: any): ReminderUnit { return ReminderUnitFromJSONTyped(json, false); } export function ReminderUnitFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReminderUnit { return json as ReminderUnit; } export function ReminderUnitToJSON(value?: ReminderUnit | null): any { return value as any; } export function ReminderUnitToJSONTyped(value: any, ignoreDiscriminator: boolean): ReminderUnit { return value as ReminderUnit; }