/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-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. */ import { mapValues } from '../runtime'; /** * UserLogoutStage Serializer * @export * @interface PatchedUserLogoutStageRequest */ export interface PatchedUserLogoutStageRequest { /** * * @type {string} * @memberof PatchedUserLogoutStageRequest */ name?: string; } /** * 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'], }; } 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'], }; }