C# Класс Systran.MultimodalClientLib.Api.FileApi

Represents a collection of functions to interact with the API endpoints
Наследование: IFileApi
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the FileApi class.

FileApi ( String basePath ) : System

Initializes a new instance of the FileApi class.

GetBasePath ( String basePath ) : String

Gets the base path of the API client.

MultimodalFileExtractTextGet ( string InputFile, string Lang, string Format, int Profile, string Callback ) : FileExtractTextResponse

Extract text from a file Extract text from a file.\n

MultimodalFileExtractTextGetAsync ( string InputFile, string Lang, string Format, int Profile, string Callback ) : Task

Extract text from a file Extract text from a file.\n

MultimodalFileSupportedFormatsGet ( int Profile, string Callback ) : FileSupportedFormatsResponse

Supported file formats Get a list of supported file formats.\n

MultimodalFileSupportedFormatsGetAsync ( int Profile, string Callback ) : Task

Supported file formats Get a list of supported file formats.\n

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

Описание методов

FileApi() публичный Метод

Initializes a new instance of the FileApi class.
public FileApi ( ApiClient apiClient = null ) : System
apiClient Systran.MultimodalClientLib.Client.ApiClient
Результат System

FileApi() публичный Метод

Initializes a new instance of the FileApi class.
public FileApi ( String basePath ) : System
basePath String
Результат System

GetBasePath() публичный Метод

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
Результат String

MultimodalFileExtractTextGet() публичный Метод

Extract text from a file Extract text from a file.\n
public MultimodalFileExtractTextGet ( string InputFile, string Lang, string Format, int Profile, string Callback ) : FileExtractTextResponse
InputFile string Input File
Lang string Language code of the input ([details](#description_langage_code_values)) or `auto` for automatic detection
Format string Format of the input file.\n\nValid values are the mimetypes returned by the supportedFormats service.\n
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.FileExtractTextResponse

MultimodalFileExtractTextGetAsync() публичный Метод

Extract text from a file Extract text from a file.\n
public MultimodalFileExtractTextGetAsync ( string InputFile, string Lang, string Format, int Profile, string Callback ) : Task
InputFile string Input File
Lang string Language code of the input ([details](#description_langage_code_values)) or `auto` for automatic detection
Format string Format of the input file.\n\nValid values are the mimetypes returned by the supportedFormats service.\n
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

MultimodalFileSupportedFormatsGet() публичный Метод

Supported file formats Get a list of supported file formats.\n
public MultimodalFileSupportedFormatsGet ( int Profile, string Callback ) : FileSupportedFormatsResponse
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.FileSupportedFormatsResponse

MultimodalFileSupportedFormatsGetAsync() публичный Метод

Supported file formats Get a list of supported file formats.\n
public MultimodalFileSupportedFormatsGetAsync ( int Profile, string Callback ) : Task
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

SetBasePath() публичный Метод

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
Результат void