/* 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 RangeChecksum interface.
 */
export function instanceOfRangeChecksum(value) {
    return true;
}
export function RangeChecksumFromJSON(json) {
    return RangeChecksumFromJSONTyped(json, false);
}
export function RangeChecksumFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'binNumber': json['binNumber'] == null ? undefined : json['binNumber'],
        'count': json['count'] == null ? undefined : json['count'],
        'checksum': json['checksum'] == null ? undefined : json['checksum'],
        'minimumId': json['minimumId'] == null ? undefined : json['minimumId'],
        'maximumId': json['maximumId'] == null ? undefined : json['maximumId'],
    };
}
export function RangeChecksumToJSON(json) {
    return RangeChecksumToJSONTyped(json, false);
}
export function RangeChecksumToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'binNumber': value['binNumber'],
        'count': value['count'],
        'checksum': value['checksum'],
        'minimumId': value['minimumId'],
        'maximumId': value['maximumId'],
    };
}
//# sourceMappingURL=RangeChecksum.js.map