CreateNewDigitalAssistantDetails¶
- class oci.oda.models.CreateNewDigitalAssistantDetails(**kwargs)¶
Bases:
CreateDigitalAssistantDetailsProperties that are required to create a Digital Assistant from scratch.
Attributes:
A constant which can be used with the kind property of a CreateDigitalAssistantDetails.
A constant which can be used with the kind property of a CreateDigitalAssistantDetails.
A constant which can be used with the kind property of a CreateDigitalAssistantDetails.
A constant which can be used with the kind property of a CreateDigitalAssistantDetails.
A constant which can be used with the multilingual_mode property of a CreateDigitalAssistantDetails.
A constant which can be used with the multilingual_mode property of a CreateDigitalAssistantDetails.
Gets the category of this CreateDigitalAssistantDetails.
Gets the defined_tags of this CreateDigitalAssistantDetails.
Gets the description of this CreateDigitalAssistantDetails.
[Required] Gets the display_name of this CreateNewDigitalAssistantDetails.
Gets the freeform_tags of this CreateDigitalAssistantDetails.
[Required] Gets the kind of this CreateDigitalAssistantDetails.
Gets the multilingual_mode of this CreateDigitalAssistantDetails.
[Required] Gets the name of this CreateNewDigitalAssistantDetails.
Gets the native_language_tags of this CreateNewDigitalAssistantDetails.
Gets the platform_version of this CreateDigitalAssistantDetails.
Gets the primary_language_tag of this CreateDigitalAssistantDetails.
Gets the version of this CreateNewDigitalAssistantDetails.
Methods:
__init__(**kwargs)Initializes a new CreateNewDigitalAssistantDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- KIND_CLONE = 'CLONE'¶
A constant which can be used with the kind property of a CreateDigitalAssistantDetails. This constant has a value of “CLONE”
- KIND_EXTEND = 'EXTEND'¶
A constant which can be used with the kind property of a CreateDigitalAssistantDetails. This constant has a value of “EXTEND”
- KIND_NEW = 'NEW'¶
A constant which can be used with the kind property of a CreateDigitalAssistantDetails. This constant has a value of “NEW”
- KIND_VERSION = 'VERSION'¶
A constant which can be used with the kind property of a CreateDigitalAssistantDetails. This constant has a value of “VERSION”
- MULTILINGUAL_MODE_NATIVE = 'NATIVE'¶
A constant which can be used with the multilingual_mode property of a CreateDigitalAssistantDetails. This constant has a value of “NATIVE”
- MULTILINGUAL_MODE_TRANSLATION = 'TRANSLATION'¶
A constant which can be used with the multilingual_mode property of a CreateDigitalAssistantDetails. This constant has a value of “TRANSLATION”
- __init__(**kwargs)¶
Initializes a new CreateNewDigitalAssistantDetails object with values from keyword arguments. The default value of the
kindattribute of this class isNEWand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
kind (str) – The value to assign to the kind property of this CreateNewDigitalAssistantDetails. Allowed values for this property are: “NEW”, “CLONE”, “VERSION”, “EXTEND”
category (str) – The value to assign to the category property of this CreateNewDigitalAssistantDetails.
description (str) – The value to assign to the description property of this CreateNewDigitalAssistantDetails.
platform_version (str) – The value to assign to the platform_version property of this CreateNewDigitalAssistantDetails.
multilingual_mode (str) – The value to assign to the multilingual_mode property of this CreateNewDigitalAssistantDetails. Allowed values for this property are: “NATIVE”, “TRANSLATION”
primary_language_tag (str) – The value to assign to the primary_language_tag property of this CreateNewDigitalAssistantDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateNewDigitalAssistantDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNewDigitalAssistantDetails.
name (str) – The value to assign to the name property of this CreateNewDigitalAssistantDetails.
display_name (str) – The value to assign to the display_name property of this CreateNewDigitalAssistantDetails.
version (str) – The value to assign to the version property of this CreateNewDigitalAssistantDetails.
native_language_tags (list[str]) – The value to assign to the native_language_tags property of this CreateNewDigitalAssistantDetails.
- property category¶
Gets the category of this CreateDigitalAssistantDetails. The resource’s category. This is used to group resource’s together.
- Returns
The category of this CreateDigitalAssistantDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDigitalAssistantDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateDigitalAssistantDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateDigitalAssistantDetails. A short description of the resource.
- Returns
The description of this CreateDigitalAssistantDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateNewDigitalAssistantDetails. The resource’s display name.
- Returns
The display_name of this CreateNewDigitalAssistantDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDigitalAssistantDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateDigitalAssistantDetails.
- Return type
dict(str, str)
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kind¶
[Required] Gets the kind of this CreateDigitalAssistantDetails. How to create the Digital Assistant.
Allowed values for this property are: “NEW”, “CLONE”, “VERSION”, “EXTEND”
- Returns
The kind of this CreateDigitalAssistantDetails.
- Return type
str
- property multilingual_mode¶
Gets the multilingual_mode of this CreateDigitalAssistantDetails. The multilingual mode for the resource.
Allowed values for this property are: “NATIVE”, “TRANSLATION”
- Returns
The multilingual_mode of this CreateDigitalAssistantDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreateNewDigitalAssistantDetails. The reource’s name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.
- Returns
The name of this CreateNewDigitalAssistantDetails.
- Return type
str
- property native_language_tags¶
Gets the native_language_tags of this CreateNewDigitalAssistantDetails. A list of native languages supported by this resource.
- Returns
The native_language_tags of this CreateNewDigitalAssistantDetails.
- Return type
list[str]
- property platform_version¶
Gets the platform_version of this CreateDigitalAssistantDetails. The ODA Platform Version for this resource.
- Returns
The platform_version of this CreateDigitalAssistantDetails.
- Return type
str
- property primary_language_tag¶
Gets the primary_language_tag of this CreateDigitalAssistantDetails. The primary language for the resource.
- Returns
The primary_language_tag of this CreateDigitalAssistantDetails.
- Return type
str
- property version¶
Gets the version of this CreateNewDigitalAssistantDetails. The resource’s version. The version can only contain numbers, letters, periods, underscores, dashes or spaces. The version must begin with a letter or a number.
- Returns
The version of this CreateNewDigitalAssistantDetails.
- Return type
str