ListSelectionMode¶
- class oci.data_safe.models.ListSelectionMode(**kwargs)¶
Bases:
SelectionDetailsIndicates that the selection is a list of resource ocids.
Attributes:
A constant which can be used with the selection_mode property of a SelectionDetails.
A constant which can be used with the selection_mode property of a SelectionDetails.
[Required] Gets the items of this ListSelectionMode.
[Required] Gets the selection_mode of this SelectionDetails.
Methods:
__init__(**kwargs)Initializes a new ListSelectionMode 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.
- SELECTION_MODE_LIST = 'LIST'¶
A constant which can be used with the selection_mode property of a SelectionDetails. This constant has a value of “LIST”
- SELECTION_MODE_SCIM_QUERY = 'SCIM_QUERY'¶
A constant which can be used with the selection_mode property of a SelectionDetails. This constant has a value of “SCIM_QUERY”
- __init__(**kwargs)¶
Initializes a new ListSelectionMode object with values from keyword arguments. The default value of the
selection_modeattribute of this class isLISTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
selection_mode (str) – The value to assign to the selection_mode property of this ListSelectionMode. Allowed values for this property are: “LIST”, “SCIM_QUERY”
items (list[str]) – The value to assign to the items property of this ListSelectionMode.
- 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 items¶
[Required] Gets the items of this ListSelectionMode. * Array of the violation log ocids to be selected in case of allowed SQLs bulk create. * Array of the allowed SQL ocids to be selected in case of allowed SQLs bulk delete.
- Returns
The items of this ListSelectionMode.
- Return type
list[str]
- property selection_mode¶
[Required] Gets the selection_mode of this SelectionDetails. The mode of selection of items, whether it is a list of ocids or a scimQuery. Allowed values: - LIST - SCIM_QUERY
Allowed values for this property are: “LIST”, “SCIM_QUERY”
- Returns
The selection_mode of this SelectionDetails.
- Return type
str