/* 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'; /** * LDAP PropertyMapping Serializer * @export * @interface PatchedLDAPSourcePropertyMappingRequest */ export interface PatchedLDAPSourcePropertyMappingRequest { /** * 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 PatchedLDAPSourcePropertyMappingRequest */ managed?: string | null; /** * * @type {string} * @memberof PatchedLDAPSourcePropertyMappingRequest */ name?: string; /** * * @type {string} * @memberof PatchedLDAPSourcePropertyMappingRequest */ expression?: string; } /** * Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface. */ export function instanceOfPatchedLDAPSourcePropertyMappingRequest(value: object): value is PatchedLDAPSourcePropertyMappingRequest { return true; } export function PatchedLDAPSourcePropertyMappingRequestFromJSON(json: any): PatchedLDAPSourcePropertyMappingRequest { return PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, false); } export function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPSourcePropertyMappingRequest { 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'], }; } export function PatchedLDAPSourcePropertyMappingRequestToJSON(json: any): PatchedLDAPSourcePropertyMappingRequest { return PatchedLDAPSourcePropertyMappingRequestToJSONTyped(json, false); } export function PatchedLDAPSourcePropertyMappingRequestToJSONTyped(value?: PatchedLDAPSourcePropertyMappingRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'managed': value['managed'], 'name': value['name'], 'expression': value['expression'], }; }