/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.8.0-rc7 * 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 RequestContentTypeEnum = { ApplicationXWwwFormUrlencoded: 'application/x-www-form-urlencoded', ApplicationJson: 'application/json', UnknownDefaultOpenApi: '11184809' } as const; export type RequestContentTypeEnum = typeof RequestContentTypeEnum[keyof typeof RequestContentTypeEnum]; export function instanceOfRequestContentTypeEnum(value: any): boolean { for (const key in RequestContentTypeEnum) { if (Object.prototype.hasOwnProperty.call(RequestContentTypeEnum, key)) { if (RequestContentTypeEnum[key as keyof typeof RequestContentTypeEnum] === value) { return true; } } } return false; } export function RequestContentTypeEnumFromJSON(json: any): RequestContentTypeEnum { return RequestContentTypeEnumFromJSONTyped(json, false); } export function RequestContentTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestContentTypeEnum { return json as RequestContentTypeEnum; } export function RequestContentTypeEnumToJSON(value?: RequestContentTypeEnum | null): any { return value as any; } export function RequestContentTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): RequestContentTypeEnum { return value as RequestContentTypeEnum; }