Entity¶
-
class
oci.oda.models.Entity(**kwargs)¶ Bases:
objectMetadata for an entity.
Attributes
TYPE_COMPOSITEA constant which can be used with the type property of a Entity. TYPE_ENUM_VALUESA constant which can be used with the type property of a Entity. id[Required] Gets the id of this Entity. name[Required] Gets the name of this Entity. type[Required] Gets the type of this Entity. Methods
__init__(**kwargs)Initializes a new Entity 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 Entity 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: - id (str) – The value to assign to the id property of this Entity.
- name (str) – The value to assign to the name property of this Entity.
- type (str) – The value to assign to the type property of this Entity. Allowed values for this property are: “COMPOSITE”, “ENUM_VALUES”
-
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.
-
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
-
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
-
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
-