/* 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 { RestrictableObjectDescriptorFromJSON, RestrictableObjectDescriptorToJSON, } from './RestrictableObjectDescriptor';
/**
 * Check if a given object implements the RestrictableObjectDescriptorResponse interface.
 */
export function instanceOfRestrictableObjectDescriptorResponse(value) {
    return true;
}
export function RestrictableObjectDescriptorResponseFromJSON(json) {
    return RestrictableObjectDescriptorResponseFromJSONTyped(json, false);
}
export function RestrictableObjectDescriptorResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'subjects': json['subjects'] == null ? undefined : (json['subjects'].map(RestrictableObjectDescriptorFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function RestrictableObjectDescriptorResponseToJSON(json) {
    return RestrictableObjectDescriptorResponseToJSONTyped(json, false);
}
export function RestrictableObjectDescriptorResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'subjects': value['subjects'] == null ? undefined : (value['subjects'].map(RestrictableObjectDescriptorToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=RestrictableObjectDescriptorResponse.js.map