/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.3
 * Contact: hello@goauthentik.io
 *
 * 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 EventsRequestedEnum = {
    HttpsSchemasOpenidNetSeceventCaepEventTypeSessionRevoked:
        "https://schemas.openid.net/secevent/caep/event-type/session-revoked",
    HttpsSchemasOpenidNetSeceventCaepEventTypeTokenClaimsChange:
        "https://schemas.openid.net/secevent/caep/event-type/token-claims-change",
    HttpsSchemasOpenidNetSeceventCaepEventTypeCredentialChange:
        "https://schemas.openid.net/secevent/caep/event-type/credential-change",
    HttpsSchemasOpenidNetSeceventCaepEventTypeAssuranceLevelChange:
        "https://schemas.openid.net/secevent/caep/event-type/assurance-level-change",
    HttpsSchemasOpenidNetSeceventCaepEventTypeDeviceComplianceChange:
        "https://schemas.openid.net/secevent/caep/event-type/device-compliance-change",
    HttpsSchemasOpenidNetSeceventCaepEventTypeSessionEstablished:
        "https://schemas.openid.net/secevent/caep/event-type/session-established",
    HttpsSchemasOpenidNetSeceventCaepEventTypeSessionPresented:
        "https://schemas.openid.net/secevent/caep/event-type/session-presented",
    HttpsSchemasOpenidNetSeceventCaepEventTypeRiskLevelChange:
        "https://schemas.openid.net/secevent/caep/event-type/risk-level-change",
    HttpsSchemasOpenidNetSeceventSsfEventTypeVerification:
        "https://schemas.openid.net/secevent/ssf/event-type/verification",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type EventsRequestedEnum = (typeof EventsRequestedEnum)[keyof typeof EventsRequestedEnum];

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

export function EventsRequestedEnumFromJSON(json: any): EventsRequestedEnum {
    return EventsRequestedEnumFromJSONTyped(json, false);
}

export function EventsRequestedEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): EventsRequestedEnum {
    return json as EventsRequestedEnum;
}

export function EventsRequestedEnumToJSON(value?: EventsRequestedEnum | null): any {
    return value as any;
}

export function EventsRequestedEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): EventsRequestedEnum {
    return value as EventsRequestedEnum;
}
