/* 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.
 */
import { DockerRegistryEventFromJSON, DockerRegistryEventToJSON, } from './DockerRegistryEvent';
/**
 * Check if a given object implements the DockerRegistryEventList interface.
 */
export function instanceOfDockerRegistryEventList(value) {
    return true;
}
export function DockerRegistryEventListFromJSON(json) {
    return DockerRegistryEventListFromJSONTyped(json, false);
}
export function DockerRegistryEventListFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'events': json['events'] == null ? undefined : (json['events'].map(DockerRegistryEventFromJSON)),
    };
}
export function DockerRegistryEventListToJSON(json) {
    return DockerRegistryEventListToJSONTyped(json, false);
}
export function DockerRegistryEventListToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'events': value['events'] == null ? undefined : (value['events'].map(DockerRegistryEventToJSON)),
    };
}
//# sourceMappingURL=DockerRegistryEventList.js.map