/* 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 { UserGroupHeaderFromJSON, UserGroupHeaderToJSON, } from './UserGroupHeader';
/**
 * Check if a given object implements the UserGroupHeaderResponse interface.
 */
export function instanceOfUserGroupHeaderResponse(value) {
    return true;
}
export function UserGroupHeaderResponseFromJSON(json) {
    return UserGroupHeaderResponseFromJSONTyped(json, false);
}
export function UserGroupHeaderResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'list': json['list'] == null ? undefined : (json['list'].map(UserGroupHeaderFromJSON)),
    };
}
export function UserGroupHeaderResponseToJSON(json) {
    return UserGroupHeaderResponseToJSONTyped(json, false);
}
export function UserGroupHeaderResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'list': value['list'] == null ? undefined : (value['list'].map(UserGroupHeaderToJSON)),
    };
}
//# sourceMappingURL=UserGroupHeaderResponse.js.map