UpdateTranslatorDetails¶
-
class
oci.oda.models.
UpdateTranslatorDetails
(**kwargs)¶ Bases:
object
Properties to update a Translator.
Methods
__init__
(**kwargs)Initializes a new UpdateTranslatorDetails object with values from keyword arguments. Attributes
auth_token
Gets the auth_token of this UpdateTranslatorDetails. base_url
Gets the base_url of this UpdateTranslatorDetails. defined_tags
Gets the defined_tags of this UpdateTranslatorDetails. freeform_tags
Gets the freeform_tags of this UpdateTranslatorDetails. properties
Gets the properties of this UpdateTranslatorDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateTranslatorDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - base_url (str) – The value to assign to the base_url property of this UpdateTranslatorDetails.
- auth_token (str) – The value to assign to the auth_token property of this UpdateTranslatorDetails.
- properties (dict(str, str)) – The value to assign to the properties property of this UpdateTranslatorDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateTranslatorDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateTranslatorDetails.
-
auth_token
¶ Gets the auth_token of this UpdateTranslatorDetails. The authentication token to use when invoking the Translation Service
Returns: The auth_token of this UpdateTranslatorDetails. Return type: str
-
base_url
¶ Gets the base_url of this UpdateTranslatorDetails. The base URL for invoking the Translation Service.
Returns: The base_url of this UpdateTranslatorDetails. Return type: str
Gets the defined_tags of this UpdateTranslatorDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateTranslatorDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this UpdateTranslatorDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateTranslatorDetails. Return type: dict(str, str)
-
properties
¶ Gets the properties of this UpdateTranslatorDetails. Properties used when invoking the translation service. Each property is a simple key-value pair.
Returns: The properties of this UpdateTranslatorDetails. Return type: dict(str, str)
-