/* 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 { PublishResultFromJSON, PublishResultToJSON, } from './PublishResult';
/**
 * Check if a given object implements the PublishResults interface.
 */
export function instanceOfPublishResults(value) {
    return true;
}
export function PublishResultsFromJSON(json) {
    return PublishResultsFromJSONTyped(json, false);
}
export function PublishResultsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'list': json['list'] == null ? undefined : (json['list'].map(PublishResultFromJSON)),
    };
}
export function PublishResultsToJSON(json) {
    return PublishResultsToJSONTyped(json, false);
}
export function PublishResultsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'list': value['list'] == null ? undefined : (value['list'].map(PublishResultToJSON)),
    };
}
//# sourceMappingURL=PublishResults.js.map