/* 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 { DiscussionReplyBundleFromJSON, DiscussionReplyBundleToJSON, } from './DiscussionReplyBundle';
/**
 * Check if a given object implements the PaginatedResultsOfDiscussionReplyBundle interface.
 */
export function instanceOfPaginatedResultsOfDiscussionReplyBundle(value) {
    return true;
}
export function PaginatedResultsOfDiscussionReplyBundleFromJSON(json) {
    return PaginatedResultsOfDiscussionReplyBundleFromJSONTyped(json, false);
}
export function PaginatedResultsOfDiscussionReplyBundleFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'totalNumberOfResults': json['totalNumberOfResults'] == null ? undefined : json['totalNumberOfResults'],
        'results': json['results'] == null ? undefined : (json['results'].map(DiscussionReplyBundleFromJSON)),
    };
}
export function PaginatedResultsOfDiscussionReplyBundleToJSON(json) {
    return PaginatedResultsOfDiscussionReplyBundleToJSONTyped(json, false);
}
export function PaginatedResultsOfDiscussionReplyBundleToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'totalNumberOfResults': value['totalNumberOfResults'],
        'results': value['results'] == null ? undefined : (value['results'].map(DiscussionReplyBundleToJSON)),
    };
}
//# sourceMappingURL=PaginatedResultsOfDiscussionReplyBundle.js.map