/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * Check if a given object implements the ResultValidationResults interface.
 */
export function instanceOfResultValidationResults(value) {
    return true;
}
export function ResultValidationResultsFromJSON(json) {
    return ResultValidationResultsFromJSONTyped(json, false);
}
export function ResultValidationResultsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'isValid': json['isValid'] == null ? undefined : json['isValid'],
        'validationErrorMessage': json['validationErrorMessage'] == null ? undefined : json['validationErrorMessage'],
        'allValidationMessages': json['allValidationMessages'] == null ? undefined : json['allValidationMessages'],
    };
}
export function ResultValidationResultsToJSON(json) {
    return ResultValidationResultsToJSONTyped(json, false);
}
export function ResultValidationResultsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'isValid': value['isValid'],
        'validationErrorMessage': value['validationErrorMessage'],
        'allValidationMessages': value['allValidationMessages'],
    };
}
//# sourceMappingURL=ResultValidationResults.js.map