/* 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 PartPresignedUrl interface.
 */
export function instanceOfPartPresignedUrl(value) {
    return true;
}
export function PartPresignedUrlFromJSON(json) {
    return PartPresignedUrlFromJSONTyped(json, false);
}
export function PartPresignedUrlFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'partNumber': json['partNumber'] == null ? undefined : json['partNumber'],
        'uploadPresignedUrl': json['uploadPresignedUrl'] == null ? undefined : json['uploadPresignedUrl'],
        'signedHeaders': json['signedHeaders'] == null ? undefined : json['signedHeaders'],
    };
}
export function PartPresignedUrlToJSON(json) {
    return PartPresignedUrlToJSONTyped(json, false);
}
export function PartPresignedUrlToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'partNumber': value['partNumber'],
        'uploadPresignedUrl': value['uploadPresignedUrl'],
        'signedHeaders': value['signedHeaders'],
    };
}
//# sourceMappingURL=PartPresignedUrl.js.map