/* 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.
 */
import { GridReplicaFromJSON, GridReplicaToJSON, } from './GridReplica';
/**
 * Check if a given object implements the CreateReplicaResponse interface.
 */
export function instanceOfCreateReplicaResponse(value) {
    return true;
}
export function CreateReplicaResponseFromJSON(json) {
    return CreateReplicaResponseFromJSONTyped(json, false);
}
export function CreateReplicaResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'replica': json['replica'] == null ? undefined : GridReplicaFromJSON(json['replica']),
    };
}
export function CreateReplicaResponseToJSON(json) {
    return CreateReplicaResponseToJSONTyped(json, false);
}
export function CreateReplicaResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'replica': GridReplicaToJSON(value['replica']),
    };
}
//# sourceMappingURL=CreateReplicaResponse.js.map