/* 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.
 */
/**
 * Check if a given object implements the ProjectStorageLocationUsage interface.
 */
export function instanceOfProjectStorageLocationUsage(value) {
    return true;
}
export function ProjectStorageLocationUsageFromJSON(json) {
    return ProjectStorageLocationUsageFromJSONTyped(json, false);
}
export function ProjectStorageLocationUsageFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'storageLocationId': json['storageLocationId'] == null ? undefined : json['storageLocationId'],
        'sumFileBytes': json['sumFileBytes'] == null ? undefined : json['sumFileBytes'],
        'maxAllowedFileBytes': json['maxAllowedFileBytes'] == null ? undefined : json['maxAllowedFileBytes'],
        'isOverLimit': json['isOverLimit'] == null ? undefined : json['isOverLimit'],
    };
}
export function ProjectStorageLocationUsageToJSON(json) {
    return ProjectStorageLocationUsageToJSONTyped(json, false);
}
export function ProjectStorageLocationUsageToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'storageLocationId': value['storageLocationId'],
        'sumFileBytes': value['sumFileBytes'],
        'maxAllowedFileBytes': value['maxAllowedFileBytes'],
        'isOverLimit': value['isOverLimit'],
    };
}
//# sourceMappingURL=ProjectStorageLocationUsage.js.map