/* 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 ListGridSessionsRequest interface.
 */
export function instanceOfListGridSessionsRequest(value) {
    return true;
}
export function ListGridSessionsRequestFromJSON(json) {
    return ListGridSessionsRequestFromJSONTyped(json, false);
}
export function ListGridSessionsRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListGridSessionsRequestToJSON(json) {
    return ListGridSessionsRequestToJSONTyped(json, false);
}
export function ListGridSessionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'sourceId': value['sourceId'],
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListGridSessionsRequest.js.map