C# Класс Systran.ResourcesClientLib.Api.DictionaryApi

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

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

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

Initializes a new instance of the DictionaryApi class.

DictionaryApi ( String basePath ) : System

Initializes a new instance of the DictionaryApi class.

GetBasePath ( String basePath ) : String

Gets the base path of the API client.

ResourcesDictionaryAddPost ( DictionaryAddBody Input ) : DictionaryAddResponse

Add dictionary Add a new dictionary.

ResourcesDictionaryAddPostAsync ( DictionaryAddBody Input ) : Task

Add dictionary Add a new dictionary.

ResourcesDictionaryDeletePost ( string DictionaryId ) : void

Delete a dictionary Delete an existing dictionary.

ResourcesDictionaryDeletePostAsync ( string DictionaryId ) : System.Threading.Tasks.Task

Delete a dictionary Delete an existing dictionary.

ResourcesDictionaryEntryAddPost ( string DictionaryId, EntryAddBody Input ) : EntryAddResponse

Add an entry Add a new entry to an existing dictionary.

ResourcesDictionaryEntryAddPostAsync ( string DictionaryId, EntryAddBody Input ) : Task

Add an entry Add a new entry to an existing dictionary.

ResourcesDictionaryEntryDeletePost ( string DictionaryId, EntryDeleteBody Input ) : EntryDeleteResponse

Delete an entry Delete an entry in an existing dictionary.

ResourcesDictionaryEntryDeletePostAsync ( string DictionaryId, EntryDeleteBody Input ) : Task

Delete an entry Delete an entry in an existing dictionary.

ResourcesDictionaryEntryImportPost ( string DictionaryId, string SourceLang, string InputFile ) : DictionariesImportResponse

Import entries Import entries to an existing dictionary.

ResourcesDictionaryEntryImportPostAsync ( string DictionaryId, string SourceLang, string InputFile ) : Task

Import entries Import entries to an existing dictionary.

ResourcesDictionaryEntryListPost ( string DictionaryId, EntriesListFilters Filters ) : EntriesListResponse

List entries List entries for a specific dictionary.

ResourcesDictionaryEntryListPostAsync ( string DictionaryId, EntriesListFilters Filters ) : Task

List entries List entries for a specific dictionary.

ResourcesDictionaryEntryUpdatePost ( string DictionaryId, EntryUpdateBody Input ) : EntryUpdateResponse

Update an entry Update an entry in an existing dictionary.

ResourcesDictionaryEntryUpdatePostAsync ( string DictionaryId, EntryUpdateBody Input ) : Task

Update an entry Update an entry in an existing dictionary.

ResourcesDictionaryExportPost ( string DictionaryId ) : void

Export a dictionary Export an existing dictionary.

ResourcesDictionaryExportPostAsync ( string DictionaryId ) : System.Threading.Tasks.Task

Export a dictionary Export an existing dictionary.

ResourcesDictionaryListPost ( DictionariesListFilters Filters ) : DictionariesListResponse

List dictionaries List the dictionaries.

ResourcesDictionaryListPostAsync ( DictionariesListFilters Filters ) : Task

List dictionaries List the dictionaries.

ResourcesDictionaryLookupGet ( string Source, string Target, List Input, bool Autocomplete, string Callback ) : LookupResponse

Lookup Lookup words from a source language to a target language.

ResourcesDictionaryLookupGetAsync ( string Source, string Target, List Input, bool Autocomplete, string Callback ) : Task

Lookup Lookup words from a source language to a target language.

ResourcesDictionaryLookupSupportedLanguagesGet ( string Source, string Target, string Callback ) : LookupSupportedLanguageResponse

Lookup Supported Languages List of language pairs in which lookup is supported. This list can be limited to a specific source language or target language.\n

ResourcesDictionaryLookupSupportedLanguagesGetAsync ( string Source, string Target, string Callback ) : Task

Lookup Supported Languages List of language pairs in which lookup is supported. This list can be limited to a specific source language or target language.\n

ResourcesDictionarySupportedLanguagesGet ( ) : SupportedLanguagesResponse
ResourcesDictionarySupportedLanguagesGetAsync ( ) : Task
ResourcesDictionaryUpdatePost ( string DictionaryId, DictionaryUpdateBody Input ) : DictionaryUpdateResponse

Update a dictionary Update an existing dictionary.

ResourcesDictionaryUpdatePostAsync ( string DictionaryId, DictionaryUpdateBody Input ) : Task

Update a dictionary Update an existing dictionary.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

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

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

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

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

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

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

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

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

Add dictionary Add a new dictionary.
public ResourcesDictionaryAddPost ( DictionaryAddBody Input ) : DictionaryAddResponse
Input Systran.ResourcesClientLib.Model.DictionaryAddBody Input with dictionary information
Результат Systran.ResourcesClientLib.Model.DictionaryAddResponse

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

Add dictionary Add a new dictionary.
public ResourcesDictionaryAddPostAsync ( DictionaryAddBody Input ) : Task
Input Systran.ResourcesClientLib.Model.DictionaryAddBody Input with dictionary information
Результат Task

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

Delete a dictionary Delete an existing dictionary.
public ResourcesDictionaryDeletePost ( string DictionaryId ) : void
DictionaryId string Dictionary Id
Результат void

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

Delete a dictionary Delete an existing dictionary.
public ResourcesDictionaryDeletePostAsync ( string DictionaryId ) : System.Threading.Tasks.Task
DictionaryId string Dictionary Id
Результат System.Threading.Tasks.Task

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

Add an entry Add a new entry to an existing dictionary.
public ResourcesDictionaryEntryAddPost ( string DictionaryId, EntryAddBody Input ) : EntryAddResponse
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryAddBody Input with dictionary id and entries information
Результат Systran.ResourcesClientLib.Model.EntryAddResponse

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

Add an entry Add a new entry to an existing dictionary.
public ResourcesDictionaryEntryAddPostAsync ( string DictionaryId, EntryAddBody Input ) : Task
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryAddBody Input with dictionary id and entries information
Результат Task

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

Delete an entry Delete an entry in an existing dictionary.
public ResourcesDictionaryEntryDeletePost ( string DictionaryId, EntryDeleteBody Input ) : EntryDeleteResponse
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryDeleteBody Input with dictionary id + entry id (src or tgt) to delete
Результат Systran.ResourcesClientLib.Model.EntryDeleteResponse

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

Delete an entry Delete an entry in an existing dictionary.
public ResourcesDictionaryEntryDeletePostAsync ( string DictionaryId, EntryDeleteBody Input ) : Task
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryDeleteBody Input with dictionary id + entry id (src or tgt) to delete
Результат Task

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

Import entries Import entries to an existing dictionary.
public ResourcesDictionaryEntryImportPost ( string DictionaryId, string SourceLang, string InputFile ) : DictionariesImportResponse
DictionaryId string Id of the dictionary where to import entries
SourceLang string Source lang of the entries to import
InputFile string File with entries to import
Результат Systran.ResourcesClientLib.Model.DictionariesImportResponse

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

Import entries Import entries to an existing dictionary.
public ResourcesDictionaryEntryImportPostAsync ( string DictionaryId, string SourceLang, string InputFile ) : Task
DictionaryId string Id of the dictionary where to import entries
SourceLang string Source lang of the entries to import
InputFile string File with entries to import
Результат Task

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

List entries List entries for a specific dictionary.
public ResourcesDictionaryEntryListPost ( string DictionaryId, EntriesListFilters Filters ) : EntriesListResponse
DictionaryId string Dictionary Id
Filters Systran.ResourcesClientLib.Model.EntriesListFilters Different filters that can be applied to the list functionality (skip/limit/sort/match)
Результат Systran.ResourcesClientLib.Model.EntriesListResponse

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

List entries List entries for a specific dictionary.
public ResourcesDictionaryEntryListPostAsync ( string DictionaryId, EntriesListFilters Filters ) : Task
DictionaryId string Dictionary Id
Filters Systran.ResourcesClientLib.Model.EntriesListFilters Different filters that can be applied to the list functionality (skip/limit/sort/match)
Результат Task

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

Update an entry Update an entry in an existing dictionary.
public ResourcesDictionaryEntryUpdatePost ( string DictionaryId, EntryUpdateBody Input ) : EntryUpdateResponse
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryUpdateBody Input with dictionary id + entry id (src or tgt) to delete
Результат Systran.ResourcesClientLib.Model.EntryUpdateResponse

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

Update an entry Update an entry in an existing dictionary.
public ResourcesDictionaryEntryUpdatePostAsync ( string DictionaryId, EntryUpdateBody Input ) : Task
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.EntryUpdateBody Input with dictionary id + entry id (src or tgt) to delete
Результат Task

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

Export a dictionary Export an existing dictionary.
public ResourcesDictionaryExportPost ( string DictionaryId ) : void
DictionaryId string Dictionary Id
Результат void

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

Export a dictionary Export an existing dictionary.
public ResourcesDictionaryExportPostAsync ( string DictionaryId ) : System.Threading.Tasks.Task
DictionaryId string Dictionary Id
Результат System.Threading.Tasks.Task

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

List dictionaries List the dictionaries.
public ResourcesDictionaryListPost ( DictionariesListFilters Filters ) : DictionariesListResponse
Filters Systran.ResourcesClientLib.Model.DictionariesListFilters Different filters that can be applied to the list functionality (skip/limit/sort/match)
Результат Systran.ResourcesClientLib.Model.DictionariesListResponse

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

List dictionaries List the dictionaries.
public ResourcesDictionaryListPostAsync ( DictionariesListFilters Filters ) : Task
Filters Systran.ResourcesClientLib.Model.DictionariesListFilters Different filters that can be applied to the list functionality (skip/limit/sort/match)
Результат Task

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

Lookup Lookup words from a source language to a target language.
public ResourcesDictionaryLookupGet ( string Source, string Target, List Input, bool Autocomplete, string Callback ) : LookupResponse
Source string Language code of the source text\n
Target string Language code in which to lookup the source text\n
Input List Input word (the 'input' parameter can be repeated)\n
Autocomplete bool With this option, if the input word is not found in the source language, it will be filled in with autocompletion to perform the lookup\n\nDefault: false\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.ResourcesClientLib.Model.LookupResponse

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

Lookup Lookup words from a source language to a target language.
public ResourcesDictionaryLookupGetAsync ( string Source, string Target, List Input, bool Autocomplete, string Callback ) : Task
Source string Language code of the source text\n
Target string Language code in which to lookup the source text\n
Input List Input word (the 'input' parameter can be repeated)\n
Autocomplete bool With this option, if the input word is not found in the source language, it will be filled in with autocompletion to perform the lookup\n\nDefault: false\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

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

Lookup Supported Languages List of language pairs in which lookup is supported. This list can be limited to a specific source language or target language.\n
public ResourcesDictionaryLookupSupportedLanguagesGet ( string Source, string Target, string Callback ) : LookupSupportedLanguageResponse
Source string Language code of the source text\n
Target string Language code into which to translate the source text\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.ResourcesClientLib.Model.LookupSupportedLanguageResponse

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

Lookup Supported Languages List of language pairs in which lookup is supported. This list can be limited to a specific source language or target language.\n
public ResourcesDictionaryLookupSupportedLanguagesGetAsync ( string Source, string Target, string Callback ) : Task
Source string Language code of the source text\n
Target string Language code into which to translate the source text\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

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

public ResourcesDictionarySupportedLanguagesGet ( ) : SupportedLanguagesResponse
Результат Systran.ResourcesClientLib.Model.SupportedLanguagesResponse

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

public ResourcesDictionarySupportedLanguagesGetAsync ( ) : Task
Результат Task

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

Update a dictionary Update an existing dictionary.
public ResourcesDictionaryUpdatePost ( string DictionaryId, DictionaryUpdateBody Input ) : DictionaryUpdateResponse
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.DictionaryUpdateBody Input with dictionary id
Результат Systran.ResourcesClientLib.Model.DictionaryUpdateResponse

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

Update a dictionary Update an existing dictionary.
public ResourcesDictionaryUpdatePostAsync ( string DictionaryId, DictionaryUpdateBody Input ) : Task
DictionaryId string Dictionary Id
Input Systran.ResourcesClientLib.Model.DictionaryUpdateBody Input with dictionary id
Результат Task

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

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