/* 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 GridReplicaInfoReplicaTypeEnum = {
    USER: 'USER',
    AGENT: 'AGENT',
    SERVICE: 'SERVICE'
};
/**
 * Check if a given object implements the GridReplicaInfo interface.
 */
export function instanceOfGridReplicaInfo(value) {
    return true;
}
export function GridReplicaInfoFromJSON(json) {
    return GridReplicaInfoFromJSONTyped(json, false);
}
export function GridReplicaInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'replicaId': json['replicaId'] == null ? undefined : json['replicaId'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'isConnected': json['isConnected'] == null ? undefined : json['isConnected'],
        'replicaType': json['replicaType'] == null ? undefined : json['replicaType'],
    };
}
export function GridReplicaInfoToJSON(json) {
    return GridReplicaInfoToJSONTyped(json, false);
}
export function GridReplicaInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'replicaId': value['replicaId'],
        'createdBy': value['createdBy'],
        'isConnected': value['isConnected'],
        'replicaType': value['replicaType'],
    };
}
//# sourceMappingURL=GridReplicaInfo.js.map