ChangeAnnouncementSubscriptionCompartmentDetails

class oci.announcements_service.models.ChangeAnnouncementSubscriptionCompartmentDetails(**kwargs)

Bases: object

The details of the request to change the compartment of the announcement subscription.

Methods:

__init__(**kwargs)

Initializes a new ChangeAnnouncementSubscriptionCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeAnnouncementSubscriptionCompartmentDetails.

__init__(**kwargs)

Initializes a new ChangeAnnouncementSubscriptionCompartmentDetails 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 ChangeAnnouncementSubscriptionCompartmentDetails.

property compartment_id

[Required] Gets the compartment_id of this ChangeAnnouncementSubscriptionCompartmentDetails. The OCID of the compartment into which you want to move the announcement subscription.

Returns

The compartment_id of this ChangeAnnouncementSubscriptionCompartmentDetails.

Return type

str