/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-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';
/**
 * Result of a Property-mapping test
 * @export
 * @interface PropertyMappingTestResult
 */
export interface PropertyMappingTestResult {
    /**
     * 
     * @type {string}
     * @memberof PropertyMappingTestResult
     */
    readonly result: string;
    /**
     * 
     * @type {boolean}
     * @memberof PropertyMappingTestResult
     */
    readonly successful: boolean;
}

/**
 * Check if a given object implements the PropertyMappingTestResult interface.
 */
export function instanceOfPropertyMappingTestResult(value: object): value is PropertyMappingTestResult {
    if (!('result' in value) || value['result'] === undefined) return false;
    if (!('successful' in value) || value['successful'] === undefined) return false;
    return true;
}

export function PropertyMappingTestResultFromJSON(json: any): PropertyMappingTestResult {
    return PropertyMappingTestResultFromJSONTyped(json, false);
}

export function PropertyMappingTestResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyMappingTestResult {
    if (json == null) {
        return json;
    }
    return {
        
        'result': json['result'],
        'successful': json['successful'],
    };
}

export function PropertyMappingTestResultToJSON(json: any): PropertyMappingTestResult {
    return PropertyMappingTestResultToJSONTyped(json, false);
}

export function PropertyMappingTestResultToJSONTyped(value?: Omit<PropertyMappingTestResult, 'result'|'successful'> | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
    };
}

