/* 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 AgentChatRequestConcreteTypeEnum = {
    org_sagebionetworks_repo_model_agent_AgentChatRequest: 'org.sagebionetworks.repo.model.agent.AgentChatRequest'
};
/**
 * Check if a given object implements the AgentChatRequest interface.
 */
export function instanceOfAgentChatRequest(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(AgentChatRequestConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function AgentChatRequestFromJSON(json) {
    return AgentChatRequestFromJSONTyped(json, false);
}
export function AgentChatRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
        'chatText': json['chatText'] == null ? undefined : json['chatText'],
        'enableTrace': json['enableTrace'] == null ? undefined : json['enableTrace'],
    };
}
export function AgentChatRequestToJSON(json) {
    return AgentChatRequestToJSONTyped(json, false);
}
export function AgentChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'sessionId': value['sessionId'],
        'chatText': value['chatText'],
        'enableTrace': value['enableTrace'],
    };
}
//# sourceMappingURL=AgentChatRequest.js.map