/* 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 RegistryEventSource interface.
 */
export function instanceOfRegistryEventSource(value) {
    return true;
}
export function RegistryEventSourceFromJSON(json) {
    return RegistryEventSourceFromJSONTyped(json, false);
}
export function RegistryEventSourceFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'addr': json['addr'] == null ? undefined : json['addr'],
        'instanceID': json['instanceID'] == null ? undefined : json['instanceID'],
    };
}
export function RegistryEventSourceToJSON(json) {
    return RegistryEventSourceToJSONTyped(json, false);
}
export function RegistryEventSourceToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'addr': value['addr'],
        'instanceID': value['instanceID'],
    };
}
//# sourceMappingURL=RegistryEventSource.js.map