AnnouncementsCollection

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

Bases: object

A list of announcements that match filter criteria, if any. Results contain both the announcements and the user-specific status of the announcements.

Methods

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

Attributes

items Gets the items of this AnnouncementsCollection.
user_statuses Gets the user_statuses of this AnnouncementsCollection.
__init__(**kwargs)

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

Parameters:
items

Gets the items of this AnnouncementsCollection. A collection of announcements.

Returns:The items of this AnnouncementsCollection.
Return type:list[oci.announcements_service.models.AnnouncementSummary]
user_statuses

Gets the user_statuses of this AnnouncementsCollection. The user-specific status for found announcements.

Returns:The user_statuses of this AnnouncementsCollection.
Return type:list[oci.announcements_service.models.AnnouncementUserStatusDetails]