/** * 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'; /** * Request for a preview of an upload to a Table. * @export * @interface UploadToTablePreviewRequest */ export interface UploadToTablePreviewRequest { /** * * @type {string} * @memberof UploadToTablePreviewRequest */ concreteType: UploadToTablePreviewRequestConcreteTypeEnum; /** * The ID of the file handle for a type of UPLOAD * @type {string} * @memberof UploadToTablePreviewRequest */ uploadFileHandleId?: 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 UploadToTablePreviewRequest */ linesToSkip?: number; /** * * @type {CsvTableDescriptor} * @memberof UploadToTablePreviewRequest */ csvTableDescriptor?: CsvTableDescriptor; /** * When set to true the full file will be scanned for a schema suggestions. A full scan is more accurate but can take more time. When set to false only a sub-set of the first rows will be scanned, which can be faster but is less accurate. The default value is false. * @type {boolean} * @memberof UploadToTablePreviewRequest */ doFullFileScan?: boolean; } /** * @export */ export declare const UploadToTablePreviewRequestConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_table_UploadToTablePreviewRequest: "org.sagebionetworks.repo.model.table.UploadToTablePreviewRequest"; }; export type UploadToTablePreviewRequestConcreteTypeEnum = typeof UploadToTablePreviewRequestConcreteTypeEnum[keyof typeof UploadToTablePreviewRequestConcreteTypeEnum]; /** * Check if a given object implements the UploadToTablePreviewRequest interface. */ export declare function instanceOfUploadToTablePreviewRequest(value: object): value is UploadToTablePreviewRequest; export declare function UploadToTablePreviewRequestFromJSON(json: any): UploadToTablePreviewRequest; export declare function UploadToTablePreviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadToTablePreviewRequest; export declare function UploadToTablePreviewRequestToJSON(json: any): UploadToTablePreviewRequest; export declare function UploadToTablePreviewRequestToJSONTyped(value?: UploadToTablePreviewRequest | null, ignoreDiscriminator?: boolean): any;