/* 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 { GridReplicaInfoFromJSON, GridReplicaInfoToJSON, } from './GridReplicaInfo';
/**
 * Check if a given object implements the ListGridReplicasResponse interface.
 */
export function instanceOfListGridReplicasResponse(value) {
    return true;
}
export function ListGridReplicasResponseFromJSON(json) {
    return ListGridReplicasResponseFromJSONTyped(json, false);
}
export function ListGridReplicasResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'page': json['page'] == null ? undefined : (json['page'].map(GridReplicaInfoFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListGridReplicasResponseToJSON(json) {
    return ListGridReplicasResponseToJSONTyped(json, false);
}
export function ListGridReplicasResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'page': value['page'] == null ? undefined : (value['page'].map(GridReplicaInfoToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListGridReplicasResponse.js.map