ChangeRuleCompartmentDetails

class oci.events.models.ChangeRuleCompartmentDetails(**kwargs)

Bases: object

Specifies which compartment to move a rule to when changing a rule's compartment.

__init__(**kwargs)

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

Parameters:compartment_id (str) -- The value to assign to the compartment_id property of this ChangeRuleCompartmentDetails.
compartment_id

[Required] Gets the compartment_id of this ChangeRuleCompartmentDetails. The OCID of the compartment into which the resource should be moved.

Returns:The compartment_id of this ChangeRuleCompartmentDetails.
Return type:str