models.site_identity module

class models.site_identity.SiteIdentity(id=None, server_relativeurl=None, title=None, url=None, webid=None)[source]

Bases: object

Implementation of the ‘SiteIdentity’ model.

O365 Sharepoint online Site Identity. These may be obtained by Graph/REST or PnP cmdlets. All fields are case insensitive.

Attributes:
id (string): Unique guid for the site in SPO. This is a unqiue

identifier that can be used to compare sites.

server_relativeurl (string): Optional ServerRelativeUrl. Not required. title (string): Optional Title of site for display and logging

purpose. Not mandatory.

url (string): Full Url of the site. Its of the form

https://yourtenant.sharepoint.com/sites/yoursite or https://yourtenant.sharepoint.com/yoursite This parameter is required for all PnP operations.

webid (string): Unique guid for the site root web.

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.