/** * 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. */ /** * Describes the status of a multi-part file upload. * @export * @interface MultipartUploadStatus */ export interface MultipartUploadStatus { /** * The unique identifier of a multi-part file upload. * @type {string} * @memberof MultipartUploadStatus */ uploadId?: string; /** * The id of the user that started this multi-part file upload. * @type {string} * @memberof MultipartUploadStatus */ startedBy?: string; /** * The date and time this upload was first initiated. * @type {string} * @memberof MultipartUploadStatus */ startedOn?: string; /** * The date and time this upload was last updated. * @type {string} * @memberof MultipartUploadStatus */ updatedOn?: string; /** * A binary representation of the upload status of all parts comprising the file to be uploaded. A part that has been 'added' will have a state of '1', while a part that is 'missing' will have a state = '0'. For example, a two part file for which the first part has been added but the second part is missing would have a partState='10'. * @type {string} * @memberof MultipartUploadStatus */ partsState?: string; /** * The state of this file upload. * @type {string} * @memberof MultipartUploadStatus */ state?: MultipartUploadStatusStateEnum; /** * After a multi-part file upload is completed, a file handle will be created to represent the resulting file with this ID. This value will be null until the multi-part file upload state transitions to COMPLETED * @type {string} * @memberof MultipartUploadStatus */ resultFileHandleId?: string; } /** * @export */ export declare const MultipartUploadStatusStateEnum: { readonly UPLOADING: "UPLOADING"; readonly COMPLETED: "COMPLETED"; }; export type MultipartUploadStatusStateEnum = typeof MultipartUploadStatusStateEnum[keyof typeof MultipartUploadStatusStateEnum]; /** * Check if a given object implements the MultipartUploadStatus interface. */ export declare function instanceOfMultipartUploadStatus(value: object): value is MultipartUploadStatus; export declare function MultipartUploadStatusFromJSON(json: any): MultipartUploadStatus; export declare function MultipartUploadStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MultipartUploadStatus; export declare function MultipartUploadStatusToJSON(json: any): MultipartUploadStatus; export declare function MultipartUploadStatusToJSONTyped(value?: MultipartUploadStatus | null, ignoreDiscriminator?: boolean): any;