models.site_property module

class models.site_property.SiteProperty(datatype=None, name=None, value=None)[source]

Bases: object

Implementation of the ‘SiteProperty’ model.

Generic site Property structure to store site properties. Some of these site properties are not captured by Get-PnpProvisioningTemplate cmdlet. So they may need to be set outside of Appy-PnPProvisoningTemplate cmdlet.

Attributes:
datatype (string): PnP data type of the property (‘string’,

‘mvstring’, ‘bool’, ‘guid’,’<enumname>’,’int’, ‘int64’, etc.)

name (string): Name of the property returned by Get-PnPSite,

Get-PnPTenantSite, Get-PnPWeb, or other cmdlets.

value (string): Property value represented as string.

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.