models.update_notifications module¶
-
class
models.update_notifications.
UpdateNotifications
(action=None, notification_ids=None)[source]¶ Bases:
object
Implementation of the ‘UpdateNotifications’ model.
Specifies the list of notificationIds and the operation to be performed.
- Attributes:
- action (string): Specifies the operation to be performed on the
resource. Eg. “action”:”dismiss”
- notification_ids (list of string): Specifies the list of
NotificationIds to be operated upon.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.