/* 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 UserGroupHeaderResponsePage interface.
 */
export function instanceOfUserGroupHeaderResponsePage(value) {
    return true;
}
export function UserGroupHeaderResponsePageFromJSON(json) {
    return UserGroupHeaderResponsePageFromJSONTyped(json, false);
}
export function UserGroupHeaderResponsePageFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'children': json['children'] == null ? undefined : (json['children'].map(UserGroupHeaderFromJSON)),
        'prefixFilter': json['prefixFilter'] == null ? undefined : json['prefixFilter'],
        'totalNumberOfResults': json['totalNumberOfResults'] == null ? undefined : json['totalNumberOfResults'],
    };
}
export function UserGroupHeaderResponsePageToJSON(json) {
    return UserGroupHeaderResponsePageToJSONTyped(json, false);
}
export function UserGroupHeaderResponsePageToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'children': value['children'] == null ? undefined : (value['children'].map(UserGroupHeaderToJSON)),
        'prefixFilter': value['prefixFilter'],
        'totalNumberOfResults': value['totalNumberOfResults'],
    };
}
//# sourceMappingURL=UserGroupHeaderResponsePage.js.map