/* 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 { FilesCountStatisticsFromJSON, FilesCountStatisticsToJSON, } from './FilesCountStatistics';
/**
 * Check if a given object implements the MonthlyFilesStatistics interface.
 */
export function instanceOfMonthlyFilesStatistics(value) {
    return true;
}
export function MonthlyFilesStatisticsFromJSON(json) {
    return MonthlyFilesStatisticsFromJSONTyped(json, false);
}
export function MonthlyFilesStatisticsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'lastUpdatedOn': json['lastUpdatedOn'] == null ? undefined : json['lastUpdatedOn'],
        'months': json['months'] == null ? undefined : (json['months'].map(FilesCountStatisticsFromJSON)),
    };
}
export function MonthlyFilesStatisticsToJSON(json) {
    return MonthlyFilesStatisticsToJSONTyped(json, false);
}
export function MonthlyFilesStatisticsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'lastUpdatedOn': value['lastUpdatedOn'],
        'months': value['months'] == null ? undefined : (value['months'].map(FilesCountStatisticsToJSON)),
    };
}
//# sourceMappingURL=MonthlyFilesStatistics.js.map