/* 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 RegistryEventTarget interface.
 */
export function instanceOfRegistryEventTarget(value) {
    return true;
}
export function RegistryEventTargetFromJSON(json) {
    return RegistryEventTargetFromJSONTyped(json, false);
}
export function RegistryEventTargetFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'mediaType': json['mediaType'] == null ? undefined : json['mediaType'],
        'size': json['size'] == null ? undefined : json['size'],
        'digest': json['digest'] == null ? undefined : json['digest'],
        'length': json['length'] == null ? undefined : json['length'],
        'repository': json['repository'] == null ? undefined : json['repository'],
        'tag': json['tag'] == null ? undefined : json['tag'],
        'url': json['url'] == null ? undefined : json['url'],
    };
}
export function RegistryEventTargetToJSON(json) {
    return RegistryEventTargetToJSONTyped(json, false);
}
export function RegistryEventTargetToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'mediaType': value['mediaType'],
        'size': value['size'],
        'digest': value['digest'],
        'length': value['length'],
        'repository': value['repository'],
        'tag': value['tag'],
        'url': value['url'],
    };
}
//# sourceMappingURL=RegistryEventTarget.js.map