/* 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'; /** * SCIMSource Serializer * @export * @interface PatchedSCIMSourceRequest */ export interface PatchedSCIMSourceRequest { /** * Source's display Name. * @type {string} * @memberof PatchedSCIMSourceRequest */ name?: string; /** * Internal source name, used in URLs. * @type {string} * @memberof PatchedSCIMSourceRequest */ slug?: string; /** * * @type {boolean} * @memberof PatchedSCIMSourceRequest */ enabled?: boolean; /** * * @type {Array} * @memberof PatchedSCIMSourceRequest */ userPropertyMappings?: Array; /** * * @type {Array} * @memberof PatchedSCIMSourceRequest */ groupPropertyMappings?: Array; /** * * @type {string} * @memberof PatchedSCIMSourceRequest */ userPathTemplate?: string; } /** * Check if a given object implements the PatchedSCIMSourceRequest interface. */ export function instanceOfPatchedSCIMSourceRequest(value: object): value is PatchedSCIMSourceRequest { return true; } export function PatchedSCIMSourceRequestFromJSON(json: any): PatchedSCIMSourceRequest { return PatchedSCIMSourceRequestFromJSONTyped(json, false); } export function PatchedSCIMSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'slug': json['slug'] == null ? undefined : json['slug'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], 'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'], 'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'], 'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'], }; } export function PatchedSCIMSourceRequestToJSON(json: any): PatchedSCIMSourceRequest { return PatchedSCIMSourceRequestToJSONTyped(json, false); } export function PatchedSCIMSourceRequestToJSONTyped(value?: PatchedSCIMSourceRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], 'slug': value['slug'], 'enabled': value['enabled'], 'user_property_mappings': value['userPropertyMappings'], 'group_property_mappings': value['groupPropertyMappings'], 'user_path_template': value['userPathTemplate'], }; }