UNPKG

@apideck/node

Version:
53 lines (52 loc) 1.72 kB
/** * 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. */ import { PassThroughBody } from './PassThroughBody'; /** * * @export * @interface CreateUploadSessionRequest */ export interface CreateUploadSessionRequest { /** * The name of the file. * @type {string} * @memberof CreateUploadSessionRequest */ name: string; /** * The parent folder to create the new file within. This can be an ID or a path depending on the downstream folder. Please see the connector section below to see downstream specific gotchas. * @type {string} * @memberof CreateUploadSessionRequest */ parent_folder_id: string; /** * The size of the file in bytes * @type {number} * @memberof CreateUploadSessionRequest */ size: number | null; /** * ID of the drive to upload to. * @type {string} * @memberof CreateUploadSessionRequest */ drive_id?: string; /** * * @type {PassThroughBody} * @memberof CreateUploadSessionRequest */ pass_through?: PassThroughBody; } export declare function CreateUploadSessionRequestFromJSON(json: any): CreateUploadSessionRequest; export declare function CreateUploadSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUploadSessionRequest; export declare function CreateUploadSessionRequestToJSON(value?: CreateUploadSessionRequest | null): any;