/* 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 AliasCheckResponse interface.
 */
export function instanceOfAliasCheckResponse(value) {
    return true;
}
export function AliasCheckResponseFromJSON(json) {
    return AliasCheckResponseFromJSONTyped(json, false);
}
export function AliasCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'available': json['available'] == null ? undefined : json['available'],
        'valid': json['valid'] == null ? undefined : json['valid'],
    };
}
export function AliasCheckResponseToJSON(json) {
    return AliasCheckResponseToJSONTyped(json, false);
}
export function AliasCheckResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'available': value['available'],
        'valid': value['valid'],
    };
}
//# sourceMappingURL=AliasCheckResponse.js.map