@apideck/node
Version:
Apideck Node.js SDK
58 lines (57 loc) • 1.73 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface UploadSession
*/
export interface UploadSession {
/**
* A unique identifier for an object.
* @type {string}
* @memberof UploadSession
*/
readonly id?: string;
/**
* Indicates if the upload session was completed successfully.
* @type {boolean}
* @memberof UploadSession
*/
readonly success?: boolean;
/**
* Size in bytes of each part of the file that you will upload. Uploaded parts need to be this size for the upload to be successful.
* @type {number}
* @memberof UploadSession
*/
readonly part_size?: number;
/**
* Indicates if parts of the file can uploaded in parallel.
* @type {boolean}
* @memberof UploadSession
*/
readonly parallel_upload_supported?: boolean;
/**
* The range of bytes that was successfully uploaded.
* @type {string}
* @memberof UploadSession
*/
readonly uploaded_byte_range?: string;
/**
*
* @type {Date}
* @memberof UploadSession
*/
readonly expires_at?: Date | null;
}
export declare function UploadSessionFromJSON(json: any): UploadSession;
export declare function UploadSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadSession;
export declare function UploadSessionToJSON(value?: UploadSession | null): any;