/* 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 AuditEventCategory = {
    EntityChange: 'EntityChange',
    BehavioralEvent: 'BehavioralEvent'
} as const;
export type AuditEventCategory = typeof AuditEventCategory[keyof typeof AuditEventCategory];


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

export function AuditEventCategoryFromJSON(json: any): AuditEventCategory {
    return AuditEventCategoryFromJSONTyped(json, false);
}

export function AuditEventCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditEventCategory {
    return json as AuditEventCategory;
}

export function AuditEventCategoryToJSON(value?: AuditEventCategory | null): any {
    return value as any;
}

export function AuditEventCategoryToJSONTyped(value: any, ignoreDiscriminator: boolean): AuditEventCategory {
    return value as AuditEventCategory;
}

