/* 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 { DownloadSortFromJSON, DownloadSortToJSON, } from './DownloadSort';
/**
 * Check if a given object implements the DownloadListPageRequest interface.
 */
export function instanceOfDownloadListPageRequest(value) {
    return true;
}
export function DownloadListPageRequestFromJSON(json) {
    return DownloadListPageRequestFromJSONTyped(json, false);
}
export function DownloadListPageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
        'sort': json['sort'] == null ? undefined : (json['sort'].map(DownloadSortFromJSON)),
        'nameContains': json['nameContains'] == null ? undefined : json['nameContains'],
    };
}
export function DownloadListPageRequestToJSON(json) {
    return DownloadListPageRequestToJSONTyped(json, false);
}
export function DownloadListPageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'nextPageToken': value['nextPageToken'],
        'sort': value['sort'] == null ? undefined : (value['sort'].map(DownloadSortToJSON)),
        'nameContains': value['nameContains'],
    };
}
//# sourceMappingURL=DownloadListPageRequest.js.map