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