/* 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 Headers interface.
 */
export function instanceOfHeaders(value) {
    return true;
}
export function HeadersFromJSON(json) {
    return HeadersFromJSONTyped(json, false);
}
export function HeadersFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'To': json['To'] == null ? undefined : json['To'],
        'Cc': json['Cc'] == null ? undefined : json['Cc'],
        'Bcc': json['Bcc'] == null ? undefined : json['Bcc'],
        'Subject': json['Subject'] == null ? undefined : json['Subject'],
        'From': json['From'] == null ? undefined : json['From'],
    };
}
export function HeadersToJSON(json) {
    return HeadersToJSONTyped(json, false);
}
export function HeadersToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'To': value['To'],
        'Cc': value['Cc'],
        'Bcc': value['Bcc'],
        'Subject': value['Subject'],
        'From': value['From'],
    };
}
//# sourceMappingURL=Headers.js.map