UpdatePropertyDetails

class oci.fleet_apps_management.models.UpdatePropertyDetails(**kwargs)

Bases: object

The information to be updated.

Attributes

SELECTION_DEFAULT_TEXT A constant which can be used with the selection property of a UpdatePropertyDetails.
SELECTION_MULTI_CHOICE A constant which can be used with the selection property of a UpdatePropertyDetails.
SELECTION_SINGLE_CHOICE A constant which can be used with the selection property of a UpdatePropertyDetails.
VALUE_TYPE_NUMERIC A constant which can be used with the value_type property of a UpdatePropertyDetails.
VALUE_TYPE_STRING A constant which can be used with the value_type property of a UpdatePropertyDetails.
display_name Gets the display_name of this UpdatePropertyDetails.
selection Gets the selection of this UpdatePropertyDetails.
value_type Gets the value_type of this UpdatePropertyDetails.
values Gets the values of this UpdatePropertyDetails.

Methods

__init__(**kwargs) Initializes a new UpdatePropertyDetails object with values from keyword arguments.
SELECTION_DEFAULT_TEXT = 'DEFAULT_TEXT'

A constant which can be used with the selection property of a UpdatePropertyDetails. This constant has a value of “DEFAULT_TEXT”

SELECTION_MULTI_CHOICE = 'MULTI_CHOICE'

A constant which can be used with the selection property of a UpdatePropertyDetails. This constant has a value of “MULTI_CHOICE”

SELECTION_SINGLE_CHOICE = 'SINGLE_CHOICE'

A constant which can be used with the selection property of a UpdatePropertyDetails. This constant has a value of “SINGLE_CHOICE”

VALUE_TYPE_NUMERIC = 'NUMERIC'

A constant which can be used with the value_type property of a UpdatePropertyDetails. This constant has a value of “NUMERIC”

VALUE_TYPE_STRING = 'STRING'

A constant which can be used with the value_type property of a UpdatePropertyDetails. This constant has a value of “STRING”

__init__(**kwargs)

Initializes a new UpdatePropertyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdatePropertyDetails.
  • selection (str) – The value to assign to the selection property of this UpdatePropertyDetails. Allowed values for this property are: “SINGLE_CHOICE”, “MULTI_CHOICE”, “DEFAULT_TEXT”
  • value_type (str) – The value to assign to the value_type property of this UpdatePropertyDetails. Allowed values for this property are: “STRING”, “NUMERIC”
  • values (list[str]) – The value to assign to the values property of this UpdatePropertyDetails.
display_name

Gets the display_name of this UpdatePropertyDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns:The display_name of this UpdatePropertyDetails.
Return type:str
selection

Gets the selection of this UpdatePropertyDetails. Text selection of the property.

Allowed values for this property are: “SINGLE_CHOICE”, “MULTI_CHOICE”, “DEFAULT_TEXT”

Returns:The selection of this UpdatePropertyDetails.
Return type:str
value_type

Gets the value_type of this UpdatePropertyDetails. Format of the value.

Allowed values for this property are: “STRING”, “NUMERIC”

Returns:The value_type of this UpdatePropertyDetails.
Return type:str
values

Gets the values of this UpdatePropertyDetails. Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).

Returns:The values of this UpdatePropertyDetails.
Return type:list[str]