/* 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 AuthorizationCheckHeader interface.
 */
export function instanceOfAuthorizationCheckHeader(value) {
    return true;
}
export function AuthorizationCheckHeaderFromJSON(json) {
    return AuthorizationCheckHeaderFromJSONTyped(json, false);
}
export function AuthorizationCheckHeaderFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'to': json['to'] == null ? undefined : json['to'],
        'from': json['from'] == null ? undefined : json['from'],
        'size': json['size'] == null ? undefined : json['size'],
        'helo_domain': json['helo_domain'] == null ? undefined : json['helo_domain'],
        'remote_ip': json['remote_ip'] == null ? undefined : json['remote_ip'],
    };
}
export function AuthorizationCheckHeaderToJSON(json) {
    return AuthorizationCheckHeaderToJSONTyped(json, false);
}
export function AuthorizationCheckHeaderToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'to': value['to'],
        'from': value['from'],
        'size': value['size'],
        'helo_domain': value['helo_domain'],
        'remote_ip': value['remote_ip'],
    };
}
//# sourceMappingURL=AuthorizationCheckHeader.js.map