PatchAlertsDetails

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

Bases: object

The alert details to update the status of one or more alerts specified by the alert IDs.

Methods:

__init__(**kwargs)

Initializes a new PatchAlertsDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this PatchAlertsDetails.

items

[Required] Gets the items of this PatchAlertsDetails.

__init__(**kwargs)

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

Parameters
  • items (list[oci.data_safe.models.PatchInstruction]) – The value to assign to the items property of this PatchAlertsDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this PatchAlertsDetails.

property compartment_id

[Required] Gets the compartment_id of this PatchAlertsDetails. The OCID of the compartment that contains the alerts.

Returns

The compartment_id of this PatchAlertsDetails.

Return type

str

property items

[Required] Gets the items of this PatchAlertsDetails. Array of alert detail to update the status of the alert specified by the alert ID.

Returns

The items of this PatchAlertsDetails.

Return type

list[oci.data_safe.models.PatchInstruction]