/// import { Readable } from 'stream'; import { AbstractByteStreamParameterData } from './abstract-byte-stream-parameter-data'; /** * This model class is one type of the upload parameter data that defines a string upload */ export declare class StringParameterData extends AbstractByteStreamParameterData { readonly text: string; readonly encoding?: string | undefined; readonly name?: string | undefined; readonly description?: string | undefined; readonly contentType?: string | undefined; readonly metadata?: Map | undefined; /** * Create instance by providing the string * @param text the string to upload * @param encoding the encoding of the string * @param description a searchable description attach on the upload * @param name a searchable name attach on the upload * @param contentType the content type attach on the upload * @param metadata a searchable key-pair metadata attach on the upload * @return the instance of this class */ static create( /** * The string */ text: string, /** * The string encoding */ encoding?: string, /** * The content name */ name?: string, /** * The content description */ description?: string, /** * The content type */ contentType?: string, /** * The content metadata */ metadata?: Map): StringParameterData; private constructor(); /** * Get the byte stream * @return the byte stream */ getByteStream(): Promise; }