/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.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. */ import { mapValues } from '../runtime'; import type { FlowSetRequest } from './FlowSetRequest'; import { FlowSetRequestFromJSON, FlowSetRequestFromJSONTyped, FlowSetRequestToJSON, FlowSetRequestToJSONTyped, } from './FlowSetRequest'; /** * UserLogoutStage Serializer * @export * @interface PatchedUserLogoutStageRequest */ export interface PatchedUserLogoutStageRequest { /** * * @type {string} * @memberof PatchedUserLogoutStageRequest */ name?: string; /** * * @type {Array} * @memberof PatchedUserLogoutStageRequest */ flowSet?: Array; } /** * Check if a given object implements the PatchedUserLogoutStageRequest interface. */ export function instanceOfPatchedUserLogoutStageRequest(value: object): value is PatchedUserLogoutStageRequest { return true; } export function PatchedUserLogoutStageRequestFromJSON(json: any): PatchedUserLogoutStageRequest { return PatchedUserLogoutStageRequestFromJSONTyped(json, false); } export function PatchedUserLogoutStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserLogoutStageRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'flowSet': json['flow_set'] == null ? undefined : ((json['flow_set'] as Array).map(FlowSetRequestFromJSON)), }; } export function PatchedUserLogoutStageRequestToJSON(json: any): PatchedUserLogoutStageRequest { return PatchedUserLogoutStageRequestToJSONTyped(json, false); } export function PatchedUserLogoutStageRequestToJSONTyped(value?: PatchedUserLogoutStageRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], 'flow_set': value['flowSet'] == null ? undefined : ((value['flowSet'] as Array).map(FlowSetRequestToJSON)), }; }