/** * 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. */ import type { CsvTableDescriptor } from './CsvTableDescriptor'; /** * A CSV table upload request. * @export * @interface UploadToTableRequest */ export interface UploadToTableRequest { /** * * @type {string} * @memberof UploadToTableRequest */ concreteType: UploadToTableRequestConcreteTypeEnum; /** * * @type {string} * @memberof UploadToTableRequest */ entityId?: string; /** * The ID of the table. * @type {string} * @memberof UploadToTableRequest */ tableId?: string; /** * The ID of the file handle for a type of UPLOAD * @type {string} * @memberof UploadToTableRequest */ uploadFileHandleId?: string; /** * Any RowSet returned from Synapse will contain the current etag of the change set. To update any rows from a RowSet the etag must be provided with the POST. * @type {string} * @memberof UploadToTableRequest */ updateEtag?: string; /** * The number of lines to skip from the start of the file. The default value of 0 will be used if this is not provided by the caller. * @type {number} * @memberof UploadToTableRequest */ linesToSkip?: number; /** * * @type {CsvTableDescriptor} * @memberof UploadToTableRequest */ csvTableDescriptor?: CsvTableDescriptor; /** * Deprecated. * @type {Array} * @memberof UploadToTableRequest */ columnIds?: Array; } /** * @export */ export declare const UploadToTableRequestConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_table_UploadToTableRequest: "org.sagebionetworks.repo.model.table.UploadToTableRequest"; }; export type UploadToTableRequestConcreteTypeEnum = typeof UploadToTableRequestConcreteTypeEnum[keyof typeof UploadToTableRequestConcreteTypeEnum]; /** * Check if a given object implements the UploadToTableRequest interface. */ export declare function instanceOfUploadToTableRequest(value: object): value is UploadToTableRequest; export declare function UploadToTableRequestFromJSON(json: any): UploadToTableRequest; export declare function UploadToTableRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadToTableRequest; export declare function UploadToTableRequestToJSON(json: any): UploadToTableRequest; export declare function UploadToTableRequestToJSONTyped(value?: UploadToTableRequest | null, ignoreDiscriminator?: boolean): any;