/* tslint:disable */ /* eslint-disable */ /** * Mubicon v1 API * Api with Swagger, Swashbuckle, and Manual API versioning. * * The version of the OpenAPI document: 1 * Contact: support@mubicloud.com * * 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 Role = { NUMBER_0: 0, NUMBER_1: 1, NUMBER_2: 2, NUMBER_3: 3 } as const; export type Role = typeof Role[keyof typeof Role]; export function instanceOfRole(value: any): boolean { for (const key in Role) { if (Object.prototype.hasOwnProperty.call(Role, key)) { if (Role[key as keyof typeof Role] === value) { return true; } } } return false; } export function RoleFromJSON(json: any): Role { return RoleFromJSONTyped(json, false); } export function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role { return json as Role; } export function RoleToJSON(value?: Role | null): any { return value as any; } export function RoleToJSONTyped(value: any, ignoreDiscriminator: boolean): Role { return value as Role; }