/* 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.
 */
/**
 * @export
 */
export const VerificationStateStateEnum = {
    SUBMITTED: 'SUBMITTED',
    APPROVED: 'APPROVED',
    REJECTED: 'REJECTED',
    SUSPENDED: 'SUSPENDED'
};
/**
 * Check if a given object implements the VerificationState interface.
 */
export function instanceOfVerificationState(value) {
    return true;
}
export function VerificationStateFromJSON(json) {
    return VerificationStateFromJSONTyped(json, false);
}
export function VerificationStateFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'state': json['state'] == null ? undefined : json['state'],
        'reason': json['reason'] == null ? undefined : json['reason'],
        'notes': json['notes'] == null ? undefined : json['notes'],
    };
}
export function VerificationStateToJSON(json) {
    return VerificationStateToJSONTyped(json, false);
}
export function VerificationStateToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'state': value['state'],
        'reason': value['reason'],
        'notes': value['notes'],
    };
}
//# sourceMappingURL=VerificationState.js.map