CompositeEntity

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

Bases: Entity

Metadata for a composite entity.

Attributes:

TYPE_COMPOSITE

A constant which can be used with the type property of a Entity.

TYPE_ENUM_VALUES

A constant which can be used with the type property of a Entity.

actions

Gets the actions of this CompositeEntity.

attributes

[Required] Gets the attributes of this CompositeEntity.

id

[Required] Gets the id of this Entity.

name

[Required] Gets the name of this Entity.

natural_language_mapping

Gets the natural_language_mapping of this CompositeEntity.

type

[Required] Gets the type of this Entity.

Methods:

__init__(**kwargs)

Initializes a new CompositeEntity 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'

A constant which can be used with the type property of a Entity. This constant has a value of “COMPOSITE”

TYPE_ENUM_VALUES = 'ENUM_VALUES'

A constant which can be used with the type property of a Entity. This constant has a value of “ENUM_VALUES”

__init__(**kwargs)

Initializes a new CompositeEntity 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
  • id (str) – The value to assign to the id property of this CompositeEntity.

  • name (str) – The value to assign to the name property of this CompositeEntity.

  • type (str) – The value to assign to the type property of this CompositeEntity. 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 CompositeEntity.

  • actions (list[oci.oda.models.EntityAction]) – The value to assign to the actions property of this CompositeEntity.

  • natural_language_mapping (oci.oda.models.EntityNaturalLanguageMapping) – The value to assign to the natural_language_mapping property of this CompositeEntity.

property actions

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

Returns

The actions of this CompositeEntity.

Return type

list[oci.oda.models.EntityAction]

property attributes

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

Returns

The attributes of this CompositeEntity.

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.

property id

[Required] Gets the id of this Entity. Unique immutable identifier that was assigned when the resource was created.

Returns

The id of this Entity.

Return type

str

property name

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

Returns

The name of this Entity.

Return type

str

property natural_language_mapping

Gets the natural_language_mapping of this CompositeEntity.

Returns

The natural_language_mapping of this CompositeEntity.

Return type

oci.oda.models.EntityNaturalLanguageMapping

property type

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

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

Returns

The type of this Entity.

Return type

str