/* 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 CrdtId interface.
 */
export function instanceOfCrdtId(value) {
    return true;
}
export function CrdtIdFromJSON(json) {
    return CrdtIdFromJSONTyped(json, false);
}
export function CrdtIdFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'rep': json['rep'] == null ? undefined : json['rep'],
        'seq': json['seq'] == null ? undefined : json['seq'],
    };
}
export function CrdtIdToJSON(json) {
    return CrdtIdToJSONTyped(json, false);
}
export function CrdtIdToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'rep': value['rep'],
        'seq': value['seq'],
    };
}
//# sourceMappingURL=CrdtId.js.map