CreateSkillCompositeEntityDetails

class oci.oda.models.CreateSkillCompositeEntityDetails(**kwargs)

Bases: oci.oda.models.create_skill_entity_details.CreateSkillEntityDetails

Properties that are required to create a skill composite entity.

Attributes

TYPE_COMPOSITE str(object=’’) -> str
TYPE_ENUM_VALUES str(object=’’) -> str
actions Gets the actions of this CreateSkillCompositeEntityDetails.
attributes [Required] Gets the attributes of this CreateSkillCompositeEntityDetails.
name [Required] Gets the name of this CreateSkillEntityDetails.
natural_language_mapping Gets the natural_language_mapping of this CreateSkillCompositeEntityDetails.
type [Required] Gets the type of this CreateSkillEntityDetails.

Methods

__init__(**kwargs) Initializes a new CreateSkillCompositeEntityDetails 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.
TYPE_COMPOSITE = 'COMPOSITE'
TYPE_ENUM_VALUES = 'ENUM_VALUES'
__init__(**kwargs)

Initializes a new CreateSkillCompositeEntityDetails object with values from keyword arguments. The default value of the type attribute of this class is COMPOSITE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateSkillCompositeEntityDetails.
  • type (str) – The value to assign to the type property of this CreateSkillCompositeEntityDetails. Allowed values for this property are: “COMPOSITE”, “ENUM_VALUES”
  • attributes (list[oci.oda.models.EntityAttribute]) – The value to assign to the attributes property of this CreateSkillCompositeEntityDetails.
  • actions (list[oci.oda.models.EntityAction]) – The value to assign to the actions property of this CreateSkillCompositeEntityDetails.
  • natural_language_mapping (oci.oda.models.EntityNaturalLanguageMapping) – The value to assign to the natural_language_mapping property of this CreateSkillCompositeEntityDetails.
actions

Gets the actions of this CreateSkillCompositeEntityDetails. List of entity actions.

Returns:The actions of this CreateSkillCompositeEntityDetails.
Return type:list[oci.oda.models.EntityAction]
attributes

[Required] Gets the attributes of this CreateSkillCompositeEntityDetails. List of entity attributes.

Returns:The attributes of this CreateSkillCompositeEntityDetails.
Return type:list[oci.oda.models.EntityAttribute]
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.

name

[Required] Gets the name of this CreateSkillEntityDetails. The entity name. This must be unique within the parent resource.

Returns:The name of this CreateSkillEntityDetails.
Return type:str
natural_language_mapping

Gets the natural_language_mapping of this CreateSkillCompositeEntityDetails.

Returns:The natural_language_mapping of this CreateSkillCompositeEntityDetails.
Return type:oci.oda.models.EntityNaturalLanguageMapping
type

[Required] Gets the type of this CreateSkillEntityDetails. Type of skill entity.

Allowed values for this property are: “COMPOSITE”, “ENUM_VALUES”

Returns:The type of this CreateSkillEntityDetails.
Return type:str