ListSelectionMode

class oci.data_safe.models.ListSelectionMode(**kwargs)

Bases: oci.data_safe.models.selection_details.SelectionDetails

Indicates that the selection is a list of resource ocids.

Attributes

SELECTION_MODE_LIST str(object=’’) -> str
SELECTION_MODE_SCIM_QUERY str(object=’’) -> str
items [Required] Gets the items of this ListSelectionMode.
selection_mode [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'
SELECTION_MODE_SCIM_QUERY = 'SCIM_QUERY'
__init__(**kwargs)

Initializes a new ListSelectionMode object with values from keyword arguments. The default value of the selection_mode attribute of this class is LIST and 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.

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