Skill¶
- 
class oci.oda.models.Skill(**kwargs)¶
- Bases: - object- Skill metadata. - Attributes - LIFECYCLE_DETAILS_DRAFT- A constant which can be used with the lifecycle_details property of a Skill. - LIFECYCLE_DETAILS_PUBLISHED- A constant which can be used with the lifecycle_details property of a Skill. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_INACTIVE- A constant which can be used with the lifecycle_state property of a Skill. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a Skill. - MULTILINGUAL_MODE_NATIVE- A constant which can be used with the multilingual_mode property of a Skill. - MULTILINGUAL_MODE_TRANSLATION- A constant which can be used with the multilingual_mode property of a Skill. - base_id- Gets the base_id of this Skill. - category- Gets the category of this Skill. - defined_tags- Gets the defined_tags of this Skill. - description- Gets the description of this Skill. - dialog_version- Gets the dialog_version of this Skill. - display_name- [Required] Gets the display_name of this Skill. - freeform_tags- Gets the freeform_tags of this Skill. - id- [Required] Gets the id of this Skill. - lifecycle_details- [Required] Gets the lifecycle_details of this Skill. - lifecycle_state- [Required] Gets the lifecycle_state of this Skill. - multilingual_mode- Gets the multilingual_mode of this Skill. - name- [Required] Gets the name of this Skill. - namespace- Gets the namespace of this Skill. - native_language_tags- Gets the native_language_tags of this Skill. - platform_version- [Required] Gets the platform_version of this Skill. - primary_language_tag- Gets the primary_language_tag of this Skill. - time_created- [Required] Gets the time_created of this Skill. - time_updated- [Required] Gets the time_updated of this Skill. - version- [Required] Gets the version of this Skill. - Methods - __init__(**kwargs)- Initializes a new Skill object with values from keyword arguments. - 
LIFECYCLE_DETAILS_DRAFT= 'DRAFT'¶
- A constant which can be used with the lifecycle_details property of a Skill. This constant has a value of “DRAFT” 
 - 
LIFECYCLE_DETAILS_PUBLISHED= 'PUBLISHED'¶
- A constant which can be used with the lifecycle_details property of a Skill. This constant has a value of “PUBLISHED” 
 - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_CREATING= 'CREATING'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “CREATING” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “INACTIVE” 
 - 
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
- A constant which can be used with the lifecycle_state property of a Skill. This constant has a value of “UPDATING” 
 - 
MULTILINGUAL_MODE_NATIVE= 'NATIVE'¶
- A constant which can be used with the multilingual_mode property of a Skill. This constant has a value of “NATIVE” 
 - 
MULTILINGUAL_MODE_TRANSLATION= 'TRANSLATION'¶
- A constant which can be used with the multilingual_mode property of a Skill. This constant has a value of “TRANSLATION” 
 - 
__init__(**kwargs)¶
- Initializes a new Skill 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 Skill.
- name (str) – The value to assign to the name property of this Skill.
- version (str) – The value to assign to the version property of this Skill.
- display_name (str) – The value to assign to the display_name property of this Skill.
- category (str) – The value to assign to the category property of this Skill.
- description (str) – The value to assign to the description property of this Skill.
- namespace (str) – The value to assign to the namespace property of this Skill.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Skill. 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’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this Skill. Allowed values for this property are: “PUBLISHED”, “DRAFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- platform_version (str) – The value to assign to the platform_version property of this Skill.
- dialog_version (str) – The value to assign to the dialog_version property of this Skill.
- base_id (str) – The value to assign to the base_id property of this Skill.
- multilingual_mode (str) – The value to assign to the multilingual_mode property of this Skill. Allowed values for this property are: “NATIVE”, “TRANSLATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- primary_language_tag (str) – The value to assign to the primary_language_tag property of this Skill.
- native_language_tags (list[str]) – The value to assign to the native_language_tags property of this Skill.
- time_created (datetime) – The value to assign to the time_created property of this Skill.
- time_updated (datetime) – The value to assign to the time_updated property of this Skill.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Skill.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Skill.
 
 - 
base_id¶
- Gets the base_id of this Skill. The unique identifier for the base reource (when this resource extends another). - Returns: - The base_id of this Skill. - Return type: - str 
 - 
category¶
- Gets the category of this Skill. The resource’s category. This is used to group resource’s together. - Returns: - The category of this Skill. - Return type: - str 
 - Gets the defined_tags of this Skill. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns: - The defined_tags of this Skill. - Return type: - dict(str, dict(str, object)) 
 - 
description¶
- Gets the description of this Skill. A short description of the resource. - Returns: - The description of this Skill. - Return type: - str 
 - 
dialog_version¶
- Gets the dialog_version of this Skill. The resource’s dialog version. - Returns: - The dialog_version of this Skill. - Return type: - str 
 - 
display_name¶
- [Required] Gets the display_name of this Skill. The resource’s display name. - Returns: - The display_name of this Skill. - Return type: - str 
 - Gets the freeform_tags of this Skill. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”} - Returns: - The freeform_tags of this Skill. - Return type: - dict(str, str) 
 - 
id¶
- [Required] Gets the id of this Skill. Unique immutable identifier that was assigned when the resource was created. - Returns: - The id of this Skill. - Return type: - str 
 - 
lifecycle_details¶
- [Required] Gets the lifecycle_details of this Skill. The resource’s publish state. - Allowed values for this property are: “PUBLISHED”, “DRAFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_details of this Skill. - Return type: - str 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this Skill. The resource’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 Skill. - Return type: - str 
 - 
multilingual_mode¶
- Gets the multilingual_mode of this Skill. The multilingual mode for the resource. - Allowed values for this property are: “NATIVE”, “TRANSLATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The multilingual_mode of this Skill. - Return type: - str 
 - 
name¶
- [Required] Gets the name of this Skill. 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 Skill. - Return type: - str 
 - 
namespace¶
- Gets the namespace of this Skill. The resource’s namespace. - Returns: - The namespace of this Skill. - Return type: - str 
 - Gets the native_language_tags of this Skill. A list of native languages supported by this resource. - Returns: - The native_language_tags of this Skill. - Return type: - list[str] 
 - 
platform_version¶
- [Required] Gets the platform_version of this Skill. The ODA Platform Version for this resource. - Returns: - The platform_version of this Skill. - Return type: - str 
 - 
primary_language_tag¶
- Gets the primary_language_tag of this Skill. The primary language for the resource. - Returns: - The primary_language_tag of this Skill. - Return type: - str 
 - 
time_created¶
- [Required] Gets the time_created of this Skill. When the resource was created. A date-time string as described in RFC 3339, section 14.29. - Returns: - The time_created of this Skill. - Return type: - datetime 
 - 
time_updated¶
- [Required] Gets the time_updated of this Skill. When the resource was last updated. A date-time string as described in RFC 3339, section 14.29. - Returns: - The time_updated of this Skill. - Return type: - datetime 
 - 
version¶
- [Required] Gets the version of this Skill. 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 Skill. - Return type: - str 
 
-