ConfigurationItemPickAllowedValueDetails

class oci.opsi.models.ConfigurationItemPickAllowedValueDetails(**kwargs)

Bases: oci.opsi.models.configuration_item_allowed_value_details.ConfigurationItemAllowedValueDetails

Allowed value details of configuration item for PICK type. Value has to be from one of the possibleValues.

Attributes

ALLOWED_VALUE_TYPE_FREE_TEXT str(object=’’) -> str
ALLOWED_VALUE_TYPE_LIMIT str(object=’’) -> str
ALLOWED_VALUE_TYPE_PICK str(object=’’) -> str
allowed_value_type [Required] Gets the allowed_value_type of this ConfigurationItemAllowedValueDetails.
possible_values Gets the possible_values of this ConfigurationItemPickAllowedValueDetails.

Methods

__init__(**kwargs) Initializes a new ConfigurationItemPickAllowedValueDetails 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.
ALLOWED_VALUE_TYPE_FREE_TEXT = 'FREE_TEXT'
ALLOWED_VALUE_TYPE_LIMIT = 'LIMIT'
ALLOWED_VALUE_TYPE_PICK = 'PICK'
__init__(**kwargs)

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

Parameters:
  • allowed_value_type (str) – The value to assign to the allowed_value_type property of this ConfigurationItemPickAllowedValueDetails. Allowed values for this property are: “LIMIT”, “PICK”, “FREE_TEXT”
  • possible_values (list[str]) – The value to assign to the possible_values property of this ConfigurationItemPickAllowedValueDetails.
allowed_value_type

[Required] Gets the allowed_value_type of this ConfigurationItemAllowedValueDetails. Allowed value type of configuration item.

Allowed values for this property are: “LIMIT”, “PICK”, “FREE_TEXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The allowed_value_type of this ConfigurationItemAllowedValueDetails.
Return type:str
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.

possible_values

Gets the possible_values of this ConfigurationItemPickAllowedValueDetails. Allowed values to pick for the configuration item.

Returns:The possible_values of this ConfigurationItemPickAllowedValueDetails.
Return type:list[str]