models.office_365_protection_source module

class models.office_365_protection_source.Office365ProtectionSource(description=None, name=None, primary_smtp_address=None, mtype=None, user_info=None, uuid=None)[source]

Bases: object

Implementation of the ‘Office365ProtectionSource’ model.

Specifies a Protection Source in Office 365 environment.

Attributes:
description (string): Specifies the description of the Office 365

entity.

name (string): Specifies the name of the office 365 entity. primary_smtp_address (string): Specifies the SMTP address for the

Outlook source.

mtype (TypeOffice365ProtectionSourceEnum): Specifies the type of the

Office 365 entity. Specifies the type of Office 365 entity ‘kDomain’ indicates the O365 domain through which authentication occurs. ‘kOutlook’ indicates the Exchange online entities. ‘kMailbox’ indicates the user’s mailbox account. ‘kUsers’ indicates the container for User entities. ‘kGroups’ indicates the container for Group entities. ‘kSites’ indicates the container for Site entities. ‘kUser’ indicates an Office365 User entity. ‘kGroup’ indicates an Office365 Group entity. ‘kSite’ indicates an Office365 SharePoint Site entity.

user_info (Office365UserInfo): Specifies information about an

Office365 user.

uuid (string): Specifies the UUID of the Office 365 entity.

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.