TranslatorSummary¶
-
class
oci.oda.models.
TranslatorSummary
(**kwargs)¶ Bases:
object
Summary of the Translator.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a TranslatorSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a TranslatorSummary. TYPE_GOOGLE
A constant which can be used with the type property of a TranslatorSummary. TYPE_MICROSOFT
A constant which can be used with the type property of a TranslatorSummary. defined_tags
Gets the defined_tags of this TranslatorSummary. freeform_tags
Gets the freeform_tags of this TranslatorSummary. id
[Required] Gets the id of this TranslatorSummary. lifecycle_state
[Required] Gets the lifecycle_state of this TranslatorSummary. name
[Required] Gets the name of this TranslatorSummary. time_created
[Required] Gets the time_created of this TranslatorSummary. time_updated
[Required] Gets the time_updated of this TranslatorSummary. type
[Required] Gets the type of this TranslatorSummary. Methods
__init__
(**kwargs)Initializes a new TranslatorSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a TranslatorSummary. This constant has a value of “UPDATING”
-
TYPE_GOOGLE
= 'GOOGLE'¶ A constant which can be used with the type property of a TranslatorSummary. This constant has a value of “GOOGLE”
-
TYPE_MICROSOFT
= 'MICROSOFT'¶ A constant which can be used with the type property of a TranslatorSummary. This constant has a value of “MICROSOFT”
-
__init__
(**kwargs)¶ Initializes a new TranslatorSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this TranslatorSummary.
- type (str) – The value to assign to the type property of this TranslatorSummary. Allowed values for this property are: “GOOGLE”, “MICROSOFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- name (str) – The value to assign to the name property of this TranslatorSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this TranslatorSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this TranslatorSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this TranslatorSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this TranslatorSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this TranslatorSummary.
Gets the defined_tags of this TranslatorSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this TranslatorSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this TranslatorSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this TranslatorSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this TranslatorSummary. Unique immutable identifier that was assigned when the Translator was created.
Returns: The id of this TranslatorSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this TranslatorSummary. The Translator’s current state.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this TranslatorSummary. Return type: str
-
name
¶ [Required] Gets the name of this TranslatorSummary. The descriptive name for this Translator.
Returns: The name of this TranslatorSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this TranslatorSummary. When the resource was created. A date-time string as described in RFC 3339, section 14.29.
Returns: The time_created of this TranslatorSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this TranslatorSummary. When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
Returns: The time_updated of this TranslatorSummary. Return type: datetime
-
type
¶ [Required] Gets the type of this TranslatorSummary. The Translation Service to use for this Translator.
Allowed values for this property are: “GOOGLE”, “MICROSOFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this TranslatorSummary. Return type: str
-