/* 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 AgentChatResponseConcreteTypeEnum = {
    org_sagebionetworks_repo_model_agent_AgentChatResponse: 'org.sagebionetworks.repo.model.agent.AgentChatResponse'
};
/**
 * Check if a given object implements the AgentChatResponse interface.
 */
export function instanceOfAgentChatResponse(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(AgentChatResponseConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function AgentChatResponseFromJSON(json) {
    return AgentChatResponseFromJSONTyped(json, false);
}
export function AgentChatResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
        'responseText': json['responseText'] == null ? undefined : json['responseText'],
    };
}
export function AgentChatResponseToJSON(json) {
    return AgentChatResponseToJSONTyped(json, false);
}
export function AgentChatResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'sessionId': value['sessionId'],
        'responseText': value['responseText'],
    };
}
//# sourceMappingURL=AgentChatResponse.js.map