/* 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'; /** * SAMLPropertyMapping Serializer * @export * @interface PatchedSAMLPropertyMappingRequest */ export interface PatchedSAMLPropertyMappingRequest { /** * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. * @type {string} * @memberof PatchedSAMLPropertyMappingRequest */ managed?: string | null; /** * * @type {string} * @memberof PatchedSAMLPropertyMappingRequest */ name?: string; /** * * @type {string} * @memberof PatchedSAMLPropertyMappingRequest */ expression?: string; /** * * @type {string} * @memberof PatchedSAMLPropertyMappingRequest */ samlName?: string; /** * * @type {string} * @memberof PatchedSAMLPropertyMappingRequest */ friendlyName?: string | null; } /** * Check if a given object implements the PatchedSAMLPropertyMappingRequest interface. */ export function instanceOfPatchedSAMLPropertyMappingRequest(value: object): value is PatchedSAMLPropertyMappingRequest { return true; } export function PatchedSAMLPropertyMappingRequestFromJSON(json: any): PatchedSAMLPropertyMappingRequest { return PatchedSAMLPropertyMappingRequestFromJSONTyped(json, false); } export function PatchedSAMLPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSAMLPropertyMappingRequest { if (json == null) { return json; } return { 'managed': json['managed'] == null ? undefined : json['managed'], 'name': json['name'] == null ? undefined : json['name'], 'expression': json['expression'] == null ? undefined : json['expression'], 'samlName': json['saml_name'] == null ? undefined : json['saml_name'], 'friendlyName': json['friendly_name'] == null ? undefined : json['friendly_name'], }; } export function PatchedSAMLPropertyMappingRequestToJSON(json: any): PatchedSAMLPropertyMappingRequest { return PatchedSAMLPropertyMappingRequestToJSONTyped(json, false); } export function PatchedSAMLPropertyMappingRequestToJSONTyped(value?: PatchedSAMLPropertyMappingRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'managed': value['managed'], 'name': value['name'], 'expression': value['expression'], 'saml_name': value['samlName'], 'friendly_name': value['friendlyName'], }; }