/** * 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 Grid download request. * @export * @interface DownloadFromGridRequest */ export interface DownloadFromGridRequest { /** * * @type {string} * @memberof DownloadFromGridRequest */ concreteType: DownloadFromGridRequestConcreteTypeEnum; /** * The grid session ID. * @type {string} * @memberof DownloadFromGridRequest */ sessionId?: string; /** * Should the first line contain the columns names as a header in the resulting file? Set to 'true' to include the headers else, 'false'. The default value is 'true'. * @type {boolean} * @memberof DownloadFromGridRequest */ writeHeader?: boolean; /** * Should the first two columns contain the row ID and row version? The default value is 'true'. * @type {boolean} * @memberof DownloadFromGridRequest */ includeRowIdAndRowVersion?: boolean; /** * Should the first (or third if includeRowIdAndRowVersion is true) column contain the row etag? The default value is 'true'. * @type {boolean} * @memberof DownloadFromGridRequest */ includeEtag?: boolean; /** * * @type {CsvTableDescriptor} * @memberof DownloadFromGridRequest */ csvTableDescriptor?: CsvTableDescriptor; /** * The optional name for the downloaded table. * @type {string} * @memberof DownloadFromGridRequest */ fileName?: string; } /** * @export */ export declare const DownloadFromGridRequestConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_grid_DownloadFromGridRequest: "org.sagebionetworks.repo.model.grid.DownloadFromGridRequest"; }; export type DownloadFromGridRequestConcreteTypeEnum = typeof DownloadFromGridRequestConcreteTypeEnum[keyof typeof DownloadFromGridRequestConcreteTypeEnum]; /** * Check if a given object implements the DownloadFromGridRequest interface. */ export declare function instanceOfDownloadFromGridRequest(value: object): value is DownloadFromGridRequest; export declare function DownloadFromGridRequestFromJSON(json: any): DownloadFromGridRequest; export declare function DownloadFromGridRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DownloadFromGridRequest; export declare function DownloadFromGridRequestToJSON(json: any): DownloadFromGridRequest; export declare function DownloadFromGridRequestToJSONTyped(value?: DownloadFromGridRequest | null, ignoreDiscriminator?: boolean): any;