/* 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 ProjectStorageLocationLimit interface.
 */
export function instanceOfProjectStorageLocationLimit(value) {
    if (!('projectId' in value) || value['projectId'] === undefined)
        return false;
    if (!('storageLocationId' in value) || value['storageLocationId'] === undefined)
        return false;
    return true;
}
export function ProjectStorageLocationLimitFromJSON(json) {
    return ProjectStorageLocationLimitFromJSONTyped(json, false);
}
export function ProjectStorageLocationLimitFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'projectId': json['projectId'],
        'storageLocationId': json['storageLocationId'],
        'maxAllowedFileBytes': json['maxAllowedFileBytes'] == null ? undefined : json['maxAllowedFileBytes'],
    };
}
export function ProjectStorageLocationLimitToJSON(json) {
    return ProjectStorageLocationLimitToJSONTyped(json, false);
}
export function ProjectStorageLocationLimitToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'projectId': value['projectId'],
        'storageLocationId': value['storageLocationId'],
        'maxAllowedFileBytes': value['maxAllowedFileBytes'],
    };
}
//# sourceMappingURL=ProjectStorageLocationLimit.js.map