/* 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 ChecksumTypeEnum = {
    md5: 'md5'
};
/**
 * Check if a given object implements the Checksum interface.
 */
export function instanceOfChecksum(value) {
    return true;
}
export function ChecksumFromJSON(json) {
    return ChecksumFromJSONTyped(json, false);
}
export function ChecksumFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'checksum': json['checksum'] == null ? undefined : json['checksum'],
        'type': json['type'] == null ? undefined : json['type'],
    };
}
export function ChecksumToJSON(json) {
    return ChecksumToJSONTyped(json, false);
}
export function ChecksumToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'checksum': value['checksum'],
        'type': value['type'],
    };
}
//# sourceMappingURL=Checksum.js.map