UpdatePropertyDetails¶
- class oci.fleet_apps_management.models.UpdatePropertyDetails(**kwargs)¶
Bases:
objectThe information to be updated.
Attributes:
A constant which can be used with the selection property of a UpdatePropertyDetails.
A constant which can be used with the selection property of a UpdatePropertyDetails.
A constant which can be used with the selection property of a UpdatePropertyDetails.
A constant which can be used with the value_type property of a UpdatePropertyDetails.
A constant which can be used with the value_type property of a UpdatePropertyDetails.
Gets the defined_tags of this UpdatePropertyDetails.
Gets the display_name of this UpdatePropertyDetails.
Gets the freeform_tags of this UpdatePropertyDetails.
Gets the selection of this UpdatePropertyDetails.
Gets the value_type of this UpdatePropertyDetails.
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.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdatePropertyDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdatePropertyDetails.
- property defined_tags¶
Gets the defined_tags of this UpdatePropertyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdatePropertyDetails.
- Return type
dict(str, dict(str, object))
- property 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
- property freeform_tags¶
Gets the freeform_tags of this UpdatePropertyDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdatePropertyDetails.
- Return type
dict(str, str)
- property 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
- property 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
- property 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]