Class TranslationMemoryApiExecutor
Inheritance
System.Object
TranslationMemoryApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class TranslationMemoryApiExecutor : object
Constructors
|
Improve this Doc
View Source
TranslationMemoryApiExecutor(ICrowdinApiClient)
Declaration
public TranslationMemoryApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
TranslationMemoryApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public TranslationMemoryApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddTm(AddTmRequest)
Declaration
public async Task<TranslationMemory> AddTm(AddTmRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CheckTmExportStatus(Int32, String)
Declaration
public async Task<TmExportStatus> CheckTmExportStatus(int tmId, string exportId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.String |
exportId |
|
Returns
|
Improve this Doc
View Source
CheckTmImportStatus(Int32, String)
Declaration
public async Task<TmImportStatus> CheckTmImportStatus(int tmId, string importId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.String |
importId |
|
Returns
|
Improve this Doc
View Source
ClearTm(Int32)
Declaration
public async Task ClearTm(int tmId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
Returns
|
Improve this Doc
View Source
ConcordanceSearch(Int32, ConcordanceSearchRequest)
Declaration
public async Task<ResponseList<TmConcordanceResultResource>> ConcordanceSearch(int projectId, ConcordanceSearchRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CreateTmSegment(Int32, CreateTmSegmentRequest)
Declaration
public async Task<TmSegmentResource> CreateTmSegment(int tmId, CreateTmSegmentRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CreateTmSegmentRecords(Int32, Int32, CreateTmSegmentRecordsRequest)
Declaration
public async Task<TmSegmentResource> CreateTmSegmentRecords(int tmId, int segmentId, CreateTmSegmentRecordsRequest request)
Parameters
Returns
|
Improve this Doc
View Source
DeleteTm(Int32)
Declaration
public async Task DeleteTm(int tmId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
Returns
|
Improve this Doc
View Source
DeleteTmSegment(Int32, Int32)
Declaration
public async Task DeleteTmSegment(int tmId, int segmentId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.Int32 |
segmentId |
|
Returns
|
Improve this Doc
View Source
DeleteTmSegmentRecord(Int32, Int32, Int32)
Declaration
public async Task DeleteTmSegmentRecord(int tmId, int segmentId, int recordId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.Int32 |
segmentId |
|
System.Int32 |
recordId |
|
Returns
|
Improve this Doc
View Source
DownloadTm(Int32, String)
Declaration
public async Task<DownloadLink> DownloadTm(int tmId, string exportId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.String |
exportId |
|
Returns
|
Improve this Doc
View Source
EditTm(Int32, IEnumerable<TmPatch>)
Declaration
public async Task<TranslationMemory> EditTm(int tmId, IEnumerable<TmPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
IEnumerable<TmPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
EditTmSegmentRecord(Int32, Int32, Int32, IEnumerable<TmSegmentRecordPatch>)
Declaration
public async Task<TmSegmentResource> EditTmSegmentRecord(int tmId, int segmentId, int recordId, IEnumerable<TmSegmentRecordPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.Int32 |
segmentId |
|
System.Int32 |
recordId |
|
IEnumerable<TmSegmentRecordPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
ExportTm(Int32, ExportTmRequest)
Declaration
public async Task<TmExportStatus> ExportTm(int tmId, ExportTmRequest request)
Parameters
Returns
|
Improve this Doc
View Source
GetTm(Int32)
Declaration
public async Task<TranslationMemory> GetTm(int tmId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
Returns
|
Improve this Doc
View Source
GetTmSegment(Int32, Int32)
Declaration
public async Task<TmSegmentResource> GetTmSegment(int tmId, int segmentId)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.Int32 |
segmentId |
|
Returns
|
Improve this Doc
View Source
ImportTm(Int32, ImportTmRequest)
Declaration
public async Task<TmImportStatus> ImportTm(int tmId, ImportTmRequest request)
Parameters
Returns
|
Improve this Doc
View Source
ListTms(TmsListParams)
Declaration
public async Task<ResponseList<TranslationMemory>> ListTms(TmsListParams params)
Parameters
Returns
|
Improve this Doc
View Source
ListTms(Nullable<Int32>, Nullable<Int32>, Int32, Int32, Nullable<IEnumerable<SortingRule>>)
Declaration
public Task<ResponseList<TranslationMemory>> ListTms(int? userId = null, int? groupId = null, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
userId |
|
System.Nullable<System.Int32> |
groupId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns
|
Improve this Doc
View Source
ListTmSegments(Int32, Int32, Int32, Nullable<IEnumerable<SortingRule>>)
Declaration
public async Task<ResponseList<TmSegmentResource>> ListTmSegments(int tmId, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Int32 |
tmId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns