models_v2.email module

class models_v2.email.Email(id=None, user_object_info=None, folder_name=None, is_email_folder=None, email_subject=None, has_attachment=None, sender_address=None, recipient_addresses=None, cc_recipient_addresses=None, bcc_recipient_addresses=None, sent_time_secs=None, received_time_secs=None, protection_group_id=None, storage_domain_id=None, tenant_id=None)[source]

Bases: object

Implementation of the ‘Email’ model.

Specifies an email or an email folder.

Attributes:

id (string): Specifies the id of the email object. user_object_info (ObjectSummary): Specifies the Object Summary. folder_name (string): Specify the name of the email folder. is_email_folder (bool): Specify if the object is an email folder. email_subject (string): Specifies the subject of this email. has_attachment (bool): Specifies whether email has an attachment. sender_address (string): Specifies the sender’s email address. recipient_addresses (list of string): Specifies the email addresses of

all receipients of this email.

cc_recipient_addresses (list of string): Specifies the email addresses

of all the CC receipients of this email.

bcc_recipient_addresses (list of string): Specifies the email

addresses of all the BCC receipients of this email.

sent_time_secs (long|int): Specifies the Unix timestamp epoch in

seconds at which this email is sent.

received_time_secs (long|int): Specifies the Unix timestamp epoch in

seconds at which this email is received.

protection_group_id (string): Specifies the Protection Group id

protecting the mailbox.

storage_domain_id (long|int): Specifies the Storage Domain id where

the backup data of Object is present.

tenant_id (string): Specify the tenant id to which this email belongs

to.

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.