AnnouncementUserStatusDetails

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

Bases: object

An announcement's status regarding whether it has been acknowledged by a user.

__init__(**kwargs)

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

Parameters:
  • user_status_announcement_id (str) -- The value to assign to the user_status_announcement_id property of this AnnouncementUserStatusDetails.
  • user_id (str) -- The value to assign to the user_id property of this AnnouncementUserStatusDetails.
  • time_acknowledged (datetime) -- The value to assign to the time_acknowledged property of this AnnouncementUserStatusDetails.
time_acknowledged

Gets the time_acknowledged of this AnnouncementUserStatusDetails. The date and time the announcement was acknowledged, expressed in RFC 3339 timestamp format. Example: 2019-01-01T17:43:01.389+0000

Returns:The time_acknowledged of this AnnouncementUserStatusDetails.
Return type:datetime
user_id

[Required] Gets the user_id of this AnnouncementUserStatusDetails. The OCID of the user that this status is associated with.

Returns:The user_id of this AnnouncementUserStatusDetails.
Return type:str
user_status_announcement_id

[Required] Gets the user_status_announcement_id of this AnnouncementUserStatusDetails. The OCID of the announcement that this status is associated with.

Returns:The user_status_announcement_id of this AnnouncementUserStatusDetails.
Return type:str