/* 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 FormRejection interface.
 */
export function instanceOfFormRejection(value) {
    return true;
}
export function FormRejectionFromJSON(json) {
    return FormRejectionFromJSONTyped(json, false);
}
export function FormRejectionFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'reason': json['reason'] == null ? undefined : json['reason'],
    };
}
export function FormRejectionToJSON(json) {
    return FormRejectionToJSONTyped(json, false);
}
export function FormRejectionToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'reason': value['reason'],
    };
}
//# sourceMappingURL=FormRejection.js.map