/* 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.
 */
/**
 * @export
 */
export const ProjectFilesStatisticsRequestConcreteTypeEnum = {
    org_sagebionetworks_repo_model_statistics_ProjectFilesStatisticsRequest: 'org.sagebionetworks.repo.model.statistics.ProjectFilesStatisticsRequest'
};
/**
 * Check if a given object implements the ProjectFilesStatisticsRequest interface.
 */
export function instanceOfProjectFilesStatisticsRequest(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(ProjectFilesStatisticsRequestConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function ProjectFilesStatisticsRequestFromJSON(json) {
    return ProjectFilesStatisticsRequestFromJSONTyped(json, false);
}
export function ProjectFilesStatisticsRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'objectId': json['objectId'] == null ? undefined : json['objectId'],
        'fileDownloads': json['fileDownloads'] == null ? undefined : json['fileDownloads'],
        'fileUploads': json['fileUploads'] == null ? undefined : json['fileUploads'],
    };
}
export function ProjectFilesStatisticsRequestToJSON(json) {
    return ProjectFilesStatisticsRequestToJSONTyped(json, false);
}
export function ProjectFilesStatisticsRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'objectId': value['objectId'],
        'fileDownloads': value['fileDownloads'],
        'fileUploads': value['fileUploads'],
    };
}
//# sourceMappingURL=ProjectFilesStatisticsRequest.js.map