/* 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 UploadResultUploadStatusEnum = {
    FAILED: 'FAILED',
    SUCCESS: 'SUCCESS'
};
/**
 * Check if a given object implements the UploadResult interface.
 */
export function instanceOfUploadResult(value) {
    return true;
}
export function UploadResultFromJSON(json) {
    return UploadResultFromJSONTyped(json, false);
}
export function UploadResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'message': json['message'] == null ? undefined : json['message'],
        'uploadStatus': json['uploadStatus'] == null ? undefined : json['uploadStatus'],
    };
}
export function UploadResultToJSON(json) {
    return UploadResultToJSONTyped(json, false);
}
export function UploadResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'message': value['message'],
        'uploadStatus': value['uploadStatus'],
    };
}
//# sourceMappingURL=UploadResult.js.map