class CollaborationInsightsOverview
A data class representing collaboration insights overview information for SharePoint tenant administration, inheriting from ClientValue to provide serialization capabilities.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/sharepoint/tenant/administration/collaboration/insights_overview.py
4 - 10
simple
Purpose
This class serves as a data transfer object (DTO) for collaboration insights overview data in SharePoint tenant administration. It inherits from ClientValue, which provides client-side value serialization and deserialization capabilities for communication with SharePoint REST APIs. The class is designed to represent metadata and insights about collaboration activities within a SharePoint tenant.
Source Code
class CollaborationInsightsOverview(ClientValue):
""""""
@property
def entity_type_name(self):
# type: () -> str
return "Microsoft.SharePoint.Administration.TenantAdmin.CollaborationInsightsOverview"
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
__init__: The constructor parameters are inherited from ClientValue base class. Typically accepts keyword arguments that map to properties of the collaboration insights data structure.
Return Value
Instantiation returns a CollaborationInsightsOverview object that can be used to store and transfer collaboration insights data. The entity_type_name property returns a string identifying the SharePoint entity type: 'Microsoft.SharePoint.Administration.TenantAdmin.CollaborationInsightsOverview'.
Class Interface
Methods
entity_type_name() -> str
property
Purpose: Returns the fully qualified entity type name used by SharePoint REST API to identify this data structure
Returns: A string containing the SharePoint entity type identifier: 'Microsoft.SharePoint.Administration.TenantAdmin.CollaborationInsightsOverview'
Attributes
| Name | Type | Description | Scope |
|---|---|---|---|
entity_type_name |
str | Read-only property that returns the SharePoint entity type identifier for collaboration insights overview | instance |
Dependencies
office365
Required Imports
from office365.runtime.client_value import ClientValue
from office365.sharepoint.administration.tenant_admin.collaboration_insights_overview import CollaborationInsightsOverview
Usage Example
from office365.sharepoint.administration.tenant_admin.collaboration_insights_overview import CollaborationInsightsOverview
from office365.runtime.client_value import ClientValue
# Instantiate the class (typically done internally by the Office365 library)
insights = CollaborationInsightsOverview()
# Access the entity type name
entity_type = insights.entity_type_name
print(entity_type) # Output: Microsoft.SharePoint.Administration.TenantAdmin.CollaborationInsightsOverview
# This class is typically used as part of SharePoint API responses
# and is instantiated automatically when retrieving collaboration insights data
Best Practices
- This class is primarily used internally by the Office365 library and is typically instantiated automatically when making API calls to SharePoint tenant administration endpoints.
- Do not manually instantiate this class unless you are mocking data or testing; it should be created by the Office365 library's deserialization process.
- The entity_type_name property is used for type identification in SharePoint REST API communication and should not be modified.
- This class inherits serialization/deserialization behavior from ClientValue, so any additional properties added should follow the ClientValue pattern.
- When extending this class, ensure that any new properties are compatible with SharePoint's JSON serialization format.
Tags
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class CollaborationInsightsData 89.9% similar
-
class OneDriveSiteSharingInsights 74.2% similar
-
class CollaborativeUsers 72.2% similar
-
class InsightIdentity 67.8% similar
-
class AuditData 67.6% similar