AnnouncementsCollection¶
- class oci.announcements_service.models.AnnouncementsCollection(**kwargs)¶
Bases:
objectA 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:
Gets the items of this AnnouncementsCollection.
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 (list[oci.announcements_service.models.AnnouncementSummary]) – The value to assign to the items property of this AnnouncementsCollection.
user_statuses (list[oci.announcements_service.models.AnnouncementUserStatusDetails]) – The value to assign to the user_statuses property of this AnnouncementsCollection.
- property items¶
Gets the items of this AnnouncementsCollection. A collection of announcements.
- Returns
The items of this AnnouncementsCollection.
- Return type
- property 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]