CreateSkillDetails¶
-
class
oci.oda.models.CreateSkillDetails(**kwargs)¶ Bases:
objectProperties that are required to create a Skill.
Attributes
KIND_CLONEA constant which can be used with the kind property of a CreateSkillDetails. KIND_EXTENDA constant which can be used with the kind property of a CreateSkillDetails. KIND_NEWA constant which can be used with the kind property of a CreateSkillDetails. KIND_VERSIONA constant which can be used with the kind property of a CreateSkillDetails. MULTILINGUAL_MODE_NATIVEA constant which can be used with the multilingual_mode property of a CreateSkillDetails. MULTILINGUAL_MODE_TRANSLATIONA constant which can be used with the multilingual_mode property of a CreateSkillDetails. categoryGets the category of this CreateSkillDetails. defined_tagsGets the defined_tags of this CreateSkillDetails. descriptionGets the description of this CreateSkillDetails. dialog_versionGets the dialog_version of this CreateSkillDetails. freeform_tagsGets the freeform_tags of this CreateSkillDetails. kind[Required] Gets the kind of this CreateSkillDetails. multilingual_modeGets the multilingual_mode of this CreateSkillDetails. platform_versionGets the platform_version of this CreateSkillDetails. primary_language_tagGets the primary_language_tag of this CreateSkillDetails. Methods
__init__(**kwargs)Initializes a new CreateSkillDetails 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 CreateSkillDetails. This constant has a value of “CLONE”
-
KIND_EXTEND= 'EXTEND'¶ A constant which can be used with the kind property of a CreateSkillDetails. This constant has a value of “EXTEND”
-
KIND_NEW= 'NEW'¶ A constant which can be used with the kind property of a CreateSkillDetails. This constant has a value of “NEW”
-
KIND_VERSION= 'VERSION'¶ A constant which can be used with the kind property of a CreateSkillDetails. This constant has a value of “VERSION”
-
MULTILINGUAL_MODE_NATIVE= 'NATIVE'¶ A constant which can be used with the multilingual_mode property of a CreateSkillDetails. This constant has a value of “NATIVE”
-
MULTILINGUAL_MODE_TRANSLATION= 'TRANSLATION'¶ A constant which can be used with the multilingual_mode property of a CreateSkillDetails. This constant has a value of “TRANSLATION”
-
__init__(**kwargs)¶ Initializes a new CreateSkillDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 CreateSkillDetails. Allowed values for this property are: “NEW”, “CLONE”, “VERSION”, “EXTEND”
- category (str) – The value to assign to the category property of this CreateSkillDetails.
- description (str) – The value to assign to the description property of this CreateSkillDetails.
- platform_version (str) – The value to assign to the platform_version property of this CreateSkillDetails.
- dialog_version (str) – The value to assign to the dialog_version property of this CreateSkillDetails.
- multilingual_mode (str) – The value to assign to the multilingual_mode property of this CreateSkillDetails. Allowed values for this property are: “NATIVE”, “TRANSLATION”
- primary_language_tag (str) – The value to assign to the primary_language_tag property of this CreateSkillDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSkillDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSkillDetails.
-
category¶ Gets the category of this CreateSkillDetails. The resource’s category. This is used to group resource’s together.
Returns: The category of this CreateSkillDetails. Return type: str
Gets the defined_tags of this CreateSkillDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateSkillDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateSkillDetails. A short description of the resource.
Returns: The description of this CreateSkillDetails. Return type: str
-
dialog_version¶ Gets the dialog_version of this CreateSkillDetails. The resource’s dialog version.
Returns: The dialog_version of this CreateSkillDetails. Return type: str
Gets the freeform_tags of this CreateSkillDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateSkillDetails. 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.
-
kind¶ [Required] Gets the kind of this CreateSkillDetails. How to create the Skill.
Allowed values for this property are: “NEW”, “CLONE”, “VERSION”, “EXTEND”
Returns: The kind of this CreateSkillDetails. Return type: str
-
multilingual_mode¶ Gets the multilingual_mode of this CreateSkillDetails. The multilingual mode for the resource.
Allowed values for this property are: “NATIVE”, “TRANSLATION”
Returns: The multilingual_mode of this CreateSkillDetails. Return type: str
-
platform_version¶ Gets the platform_version of this CreateSkillDetails. The ODA Platform Version for this resource.
Returns: The platform_version of this CreateSkillDetails. Return type: str
-
primary_language_tag¶ Gets the primary_language_tag of this CreateSkillDetails. The primary language for the resource.
Returns: The primary_language_tag of this CreateSkillDetails. Return type: str
-