/* 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 { AgentSessionFromJSON, AgentSessionToJSON, } from './AgentSession';
/**
 * Check if a given object implements the ListAgentSessionsResponse interface.
 */
export function instanceOfListAgentSessionsResponse(value) {
    return true;
}
export function ListAgentSessionsResponseFromJSON(json) {
    return ListAgentSessionsResponseFromJSONTyped(json, false);
}
export function ListAgentSessionsResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'page': json['page'] == null ? undefined : (json['page'].map(AgentSessionFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListAgentSessionsResponseToJSON(json) {
    return ListAgentSessionsResponseToJSONTyped(json, false);
}
export function ListAgentSessionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'page': value['page'] == null ? undefined : (value['page'].map(AgentSessionToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListAgentSessionsResponse.js.map