/* tslint:disable */
/* eslint-disable */
/**
 * OmsorgCore.Api
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.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 ModuleType = {
    Employees: 'Employees',
    Facilities: 'Facilities',
    Contracts: 'Contracts',
    Orders: 'Orders',
    TimeEntries: 'TimeEntries',
    Invoices: 'Invoices',
    Recruiting: 'Recruiting',
    Controlling: 'Controlling',
    UserManagement: 'UserManagement',
    AuditLog: 'AuditLog',
    Documents: 'Documents',
    Users: 'Users',
    Configuration: 'Configuration',
    Absences: 'Absences',
    EmployeeFacilityDistances: 'EmployeeFacilityDistances',
    Assignments: 'Assignments'
} as const;
export type ModuleType = typeof ModuleType[keyof typeof ModuleType];


export function instanceOfModuleType(value: any): boolean {
    for (const key in ModuleType) {
        if (Object.prototype.hasOwnProperty.call(ModuleType, key)) {
            if (ModuleType[key as keyof typeof ModuleType] === value) {
                return true;
            }
        }
    }
    return false;
}

export function ModuleTypeFromJSON(json: any): ModuleType {
    return ModuleTypeFromJSONTyped(json, false);
}

export function ModuleTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModuleType {
    return json as ModuleType;
}

export function ModuleTypeToJSON(value?: ModuleType | null): any {
    return value as any;
}

export function ModuleTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ModuleType {
    return value as ModuleType;
}

