Class TranslationMemoryQuery
Defines the query to be executed over the translation memories
Inheritance
System.Object
TranslationMemoryQuery
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
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 |
---|---|
System.String[] |
FieldTemplateIds
Filter by template id's
Declaration
public Guid[] FieldTemplateIds { get; set; }
Property Value
Type | Description |
---|---|
System.Guid[] |
IncludeChildResourceGroups
Decide to include sub-organization when filtering by the organiation
Declaration
public bool IncludeChildResourceGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Index
O based index of page results
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsMain
Filter the main translation memories
Declaration
public bool IsMain { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsProject
Filter the project translation memories
Declaration
public bool IsProject { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LanguageResourceIds
Filter by language template id's
Declaration
public Guid[] LanguageResourceIds { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
Size
the max number of entities to be returned by the query
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SourceLanguageCodes
Filter by the source languages
Declaration
public string[] SourceLanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
TargetLanguageCodes
Filter by the source languages
Declaration
public string[] TargetLanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Text
Filter by text in name or description
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |