/* 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 MultipartUploadStatusStateEnum = {
    UPLOADING: 'UPLOADING',
    COMPLETED: 'COMPLETED'
};
/**
 * Check if a given object implements the MultipartUploadStatus interface.
 */
export function instanceOfMultipartUploadStatus(value) {
    return true;
}
export function MultipartUploadStatusFromJSON(json) {
    return MultipartUploadStatusFromJSONTyped(json, false);
}
export function MultipartUploadStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
        'startedBy': json['startedBy'] == null ? undefined : json['startedBy'],
        'startedOn': json['startedOn'] == null ? undefined : json['startedOn'],
        'updatedOn': json['updatedOn'] == null ? undefined : json['updatedOn'],
        'partsState': json['partsState'] == null ? undefined : json['partsState'],
        'state': json['state'] == null ? undefined : json['state'],
        'resultFileHandleId': json['resultFileHandleId'] == null ? undefined : json['resultFileHandleId'],
    };
}
export function MultipartUploadStatusToJSON(json) {
    return MultipartUploadStatusToJSONTyped(json, false);
}
export function MultipartUploadStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'uploadId': value['uploadId'],
        'startedBy': value['startedBy'],
        'startedOn': value['startedOn'],
        'updatedOn': value['updatedOn'],
        'partsState': value['partsState'],
        'state': value['state'],
        'resultFileHandleId': value['resultFileHandleId'],
    };
}
//# sourceMappingURL=MultipartUploadStatus.js.map