/* 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'; /** * Test property mapping execution for a user/group with context * @export * @interface PropertyMappingTestRequest */ export interface PropertyMappingTestRequest { /** * * @type {number} * @memberof PropertyMappingTestRequest */ user?: number | null; /** * * @type {{ [key: string]: any; }} * @memberof PropertyMappingTestRequest */ context?: { [key: string]: any; }; /** * * @type {string} * @memberof PropertyMappingTestRequest */ group?: string | null; } /** * Check if a given object implements the PropertyMappingTestRequest interface. */ export function instanceOfPropertyMappingTestRequest(value: object): value is PropertyMappingTestRequest { return true; } export function PropertyMappingTestRequestFromJSON(json: any): PropertyMappingTestRequest { return PropertyMappingTestRequestFromJSONTyped(json, false); } export function PropertyMappingTestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyMappingTestRequest { if (json == null) { return json; } return { 'user': json['user'] == null ? undefined : json['user'], 'context': json['context'] == null ? undefined : json['context'], 'group': json['group'] == null ? undefined : json['group'], }; } export function PropertyMappingTestRequestToJSON(json: any): PropertyMappingTestRequest { return PropertyMappingTestRequestToJSONTyped(json, false); } export function PropertyMappingTestRequestToJSONTyped(value?: PropertyMappingTestRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'user': value['user'], 'context': value['context'], 'group': value['group'], }; }