Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateTranslatorDetails

Properties that are required to create a Translator.

Properties

authToken

authToken: string

The authentication token to use when invoking the Translation Service

baseUrl

baseUrl: string

The base URL for invoking the Translation Service.

Optional definedTags

definedTags: undefined | object

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type, or scope. Example: {@code {"bar-key": "value"}}

Optional properties

properties: undefined | object

Properties used when invoking the translation service. Each property is a simple key-value pair.

type

The Translation Service to use for this Translator.

Functions

getDeserializedJsonObj

getJsonObj