ConfigurationItemPickAllowedValueDetails

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

Bases: 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

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails.

ALLOWED_VALUE_TYPE_LIMIT

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails.

ALLOWED_VALUE_TYPE_PICK

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails.

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'

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails. This constant has a value of “FREE_TEXT”

ALLOWED_VALUE_TYPE_LIMIT = 'LIMIT'

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails. This constant has a value of “LIMIT”

ALLOWED_VALUE_TYPE_PICK = 'PICK'

A constant which can be used with the allowed_value_type property of a ConfigurationItemAllowedValueDetails. This constant has a value of “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.

property 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.

property 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]