/* 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 AddPartResponseAddPartStateEnum = {
    ADD_SUCCESS: 'ADD_SUCCESS',
    ADD_FAILED: 'ADD_FAILED'
};
/**
 * Check if a given object implements the AddPartResponse interface.
 */
export function instanceOfAddPartResponse(value) {
    return true;
}
export function AddPartResponseFromJSON(json) {
    return AddPartResponseFromJSONTyped(json, false);
}
export function AddPartResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
        'partNumber': json['partNumber'] == null ? undefined : json['partNumber'],
        'addPartState': json['addPartState'] == null ? undefined : json['addPartState'],
        'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
    };
}
export function AddPartResponseToJSON(json) {
    return AddPartResponseToJSONTyped(json, false);
}
export function AddPartResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'uploadId': value['uploadId'],
        'partNumber': value['partNumber'],
        'addPartState': value['addPartState'],
        'errorMessage': value['errorMessage'],
    };
}
//# sourceMappingURL=AddPartResponse.js.map