/* 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 { ChangeMessageFromJSON, ChangeMessageToJSON, } from './ChangeMessage';
/**
 * Check if a given object implements the ChangeMessages interface.
 */
export function instanceOfChangeMessages(value) {
    return true;
}
export function ChangeMessagesFromJSON(json) {
    return ChangeMessagesFromJSONTyped(json, false);
}
export function ChangeMessagesFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'list': json['list'] == null ? undefined : (json['list'].map(ChangeMessageFromJSON)),
    };
}
export function ChangeMessagesToJSON(json) {
    return ChangeMessagesToJSONTyped(json, false);
}
export function ChangeMessagesToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'list': value['list'] == null ? undefined : (value['list'].map(ChangeMessageToJSON)),
    };
}
//# sourceMappingURL=ChangeMessages.js.map