ValueListEntity

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

Bases: oci.oda.models.entity.Entity

Metadata for a value list entity.

Attributes

TYPE_COMPOSITE str(object=’’) -> str
TYPE_ENUM_VALUES str(object=’’) -> str
id [Required] Gets the id of this Entity.
name [Required] Gets the name of this Entity.
type [Required] Gets the type of this Entity.
values [Required] Gets the values of this ValueListEntity.

Methods

__init__(**kwargs) Initializes a new ValueListEntity 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 ValueListEntity object with values from keyword arguments. The default value of the type attribute of this class is ENUM_VALUES 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 ValueListEntity.
  • name (str) – The value to assign to the name property of this ValueListEntity.
  • type (str) – The value to assign to the type property of this ValueListEntity. Allowed values for this property are: “COMPOSITE”, “ENUM_VALUES”
  • values (list[oci.oda.models.StaticEntityValue]) – The value to assign to the values property of this ValueListEntity.
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
values

[Required] Gets the values of this ValueListEntity. List of values for a value list entity.

Returns:The values of this ValueListEntity.
Return type:list[oci.oda.models.StaticEntityValue]