AnnouncementCompartment

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

Bases: object

Compartment details of an announcement.

Methods

__init__(**kwargs) Initializes a new AnnouncementCompartment object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this AnnouncementCompartment.
__init__(**kwargs)

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

[Required] Gets the compartment_id of this AnnouncementCompartment. The OCID of the compartment to which the announcement belongs to.

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