/* 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 Interaction interface.
 */
export function instanceOfInteraction(value) {
    return true;
}
export function InteractionFromJSON(json) {
    return InteractionFromJSONTyped(json, false);
}
export function InteractionFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requestText': json['requestText'] == null ? undefined : json['requestText'],
        'requestTimestamp': json['requestTimestamp'] == null ? undefined : json['requestTimestamp'],
        'responseText': json['responseText'] == null ? undefined : json['responseText'],
        'responseTimestamp': json['responseTimestamp'] == null ? undefined : json['responseTimestamp'],
    };
}
export function InteractionToJSON(json) {
    return InteractionToJSONTyped(json, false);
}
export function InteractionToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requestText': value['requestText'],
        'requestTimestamp': value['requestTimestamp'],
        'responseText': value['responseText'],
        'responseTimestamp': value['responseTimestamp'],
    };
}
//# sourceMappingURL=Interaction.js.map