Class TranslationMemoryQuery
Defines the query to be executed over the translation memories
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class TranslationMemoryQuery
Constructors
TranslationMemoryQuery()
Default constructor for TM query
Declaration
public TranslationMemoryQuery()
Properties
ContainerNames
Filter by the containers
Declaration
public string[] ContainerNames { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldTemplateIds
Filter by template id's
Declaration
public Guid[] FieldTemplateIds { get; set; }
Property Value
Type | Description |
---|---|
Guid |
IncludeChildResourceGroups
Decide to include sub-organization when filtering by the organiation
Declaration
public bool IncludeChildResourceGroups { get; set; }
Property Value
Type | Description |
---|---|
bool |
Index
O based index of page results
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
int |
IsMain
Filter the main translation memories
Declaration
public bool IsMain { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsProject
Filter the project translation memories
Declaration
public bool IsProject { get; set; }
Property Value
Type | Description |
---|---|
bool |
LanguageResourceIds
Filter by language template id's
Declaration
public Guid[] LanguageResourceIds { get; set; }
Property Value
Type | Description |
---|---|
Guid |
OwnerId
Filter by the ownerId (this is used for GroupShare 2017 for compatibility, from 2017SR1, ResourceGroup is supposed to be used)
Declaration
public string OwnerId { get; set; }
Property Value
Type | Description |
---|---|
string |
Properties
The expected properties of the translation memory.
Declaration
public TranslationMemoryProperties Properties { get; set; }
Property Value
Type | Description |
---|---|
TranslationMemoryProperties |
ResourceGroupPath
Filter by the organization
Declaration
public string ResourceGroupPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Size
the max number of entities to be returned by the query
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
int |
SourceLanguageCodes
Filter by the source languages
Declaration
public string[] SourceLanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetLanguageCodes
Filter by the source languages
Declaration
public string[] TargetLanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
Filter by text in name or description
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |