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.

__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 (list[AnnouncementSummary]) -- The value to assign to the items property of this AnnouncementsCollection.
  • user_statuses (list[AnnouncementUserStatusDetails]) -- The value to assign to the user_statuses property of this AnnouncementsCollection.
items

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

Returns:The items of this AnnouncementsCollection.
Return type:list[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[AnnouncementUserStatusDetails]