/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.0-rc1
 * 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",
    HttpsSchemasOpenidNetSeceventCaepEventTypeCredentialChange:
        "https://schemas.openid.net/secevent/caep/event-type/credential-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;
}
