/* 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 CloudmailinAttachment interface.
 */
export function instanceOfCloudmailinAttachment(value) {
    return true;
}
export function CloudmailinAttachmentFromJSON(json) {
    return CloudmailinAttachmentFromJSONTyped(json, false);
}
export function CloudmailinAttachmentFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'content': json['content'] == null ? undefined : json['content'],
        'content_id': json['content_id'] == null ? undefined : json['content_id'],
        'url': json['url'] == null ? undefined : json['url'],
        'file_name': json['file_name'] == null ? undefined : json['file_name'],
        'content_type': json['content_type'] == null ? undefined : json['content_type'],
        'size': json['size'] == null ? undefined : json['size'],
        'disposition': json['disposition'] == null ? undefined : json['disposition'],
    };
}
export function CloudmailinAttachmentToJSON(json) {
    return CloudmailinAttachmentToJSONTyped(json, false);
}
export function CloudmailinAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'content': value['content'],
        'content_id': value['content_id'],
        'url': value['url'],
        'file_name': value['file_name'],
        'content_type': value['content_type'],
        'size': value['size'],
        'disposition': value['disposition'],
    };
}
//# sourceMappingURL=CloudmailinAttachment.js.map