Office365-REST-Python-Client 3.1.0__py3-none-any.whl → 3.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office365/communications/callrecords/call_record.py +18 -0
- office365/communications/calls/call.py +3 -0
- office365/communications/presences/presence.py +3 -0
- office365/communications/quotas.py +66 -0
- office365/communications/virtualevents/virtual_event.py +3 -0
- office365/directory/domains/domain.py +3 -0
- office365/directory/licenses/subscribed_sku.py +3 -0
- office365/directory/objects/object.py +3 -0
- office365/directory/quotas.py +34 -0
- office365/entity_collection.py +2 -2
- office365/graph_client.py +46 -2
- office365/limits.py +66 -0
- office365/migration/__init__.py +6 -1
- office365/migration/adapters/__init__.py +14 -4
- office365/migration/adapters/filesystem.py +4 -1
- office365/migration/assessment/export.py +5 -5
- office365/migration/assessment/issue.py +19 -0
- office365/migration/assessment/report.py +11 -0
- office365/migration/assessment/scanners/base.py +37 -49
- office365/migration/base.py +33 -8
- office365/migration/checkpoint.py +1 -1
- office365/migration/outlook/assessor.py +4 -4
- office365/migration/package/__init__.py +82 -0
- office365/migration/package/builder.py +603 -0
- office365/migration/package/crypto.py +54 -0
- office365/migration/package/manifest_xml.py +495 -0
- office365/migration/package/staging.py +180 -0
- office365/migration/report.py +7 -2
- office365/migration/report_io.py +79 -0
- office365/migration/runner.py +117 -10
- office365/migration/server_job.py +126 -14
- office365/migration/session.py +132 -49
- office365/migration/settings.py +67 -0
- office365/migration/sharepoint/__init__.py +2 -0
- office365/migration/sharepoint/adapters.py +207 -41
- office365/migration/sharepoint/assessor.py +45 -9
- office365/migration/sharepoint/options.py +57 -0
- office365/migration/sharepoint/package_target.py +209 -0
- office365/migration/sharepoint/registry.py +22 -0
- office365/migration/sharepoint/resolvers.py +96 -0
- office365/migration/sharepoint/scanners/__init__.py +29 -0
- office365/migration/sharepoint/scanners/browser_file_handling.py +55 -0
- office365/migration/sharepoint/scanners/checked_out_files.py +57 -0
- office365/migration/sharepoint/scanners/file_versions.py +56 -0
- office365/migration/sharepoint/scanners/files.py +5 -2
- office365/migration/sharepoint/scanners/large_excel_files.py +56 -0
- office365/migration/sharepoint/scanners/large_lists.py +58 -0
- office365/migration/sharepoint/scanners/large_sites.py +4 -3
- office365/migration/sharepoint/scanners/long_onedrive_urls.py +52 -0
- office365/migration/sharepoint/scanners/lookup.py +38 -0
- office365/migration/sharepoint/scanners/paths.py +9 -4
- office365/migration/sharepoint/scanners/permissions.py +20 -2
- office365/migration/sharepoint/scanners/smat.py +51 -0
- office365/migration/sharepoint/scanners/summary.py +1 -0
- office365/migration/sharepoint/scanners/thicket_folders.py +38 -0
- office365/migration/sharepoint/scanners/unsupported_site_templates.py +90 -0
- office365/migration/sharepoint/tenant_assessor.py +5 -3
- office365/migration/sharepoint/transfer.py +4 -2
- office365/migration/tasks.py +121 -0
- office365/migration/validators.py +2 -19
- office365/onedrive/driveitems/driveItem.py +116 -12
- office365/onedrive/termstore/groups/collection.py +2 -9
- office365/onedrive/termstore/sets/collection.py +2 -9
- office365/onedrive/termstore/terms/collection.py +3 -10
- office365/onedrive/workbooks/workbook.py +7 -0
- office365/outlook/contacts/folders/collection.py +4 -13
- office365/runtime/auth/authentication_context.py +5 -0
- office365/runtime/client_object.py +18 -0
- office365/runtime/client_object_collection.py +75 -245
- office365/runtime/client_request.py +77 -1
- office365/runtime/client_request_exception.py +127 -39
- office365/runtime/client_runtime_context.py +79 -8
- office365/runtime/converters/csv_writer.py +10 -4
- office365/runtime/converters/dataframe.py +84 -4
- office365/runtime/converters/json_file.py +12 -3
- office365/runtime/converters/parquet.py +67 -0
- office365/runtime/converters/records.py +31 -12
- office365/runtime/converters/registry.py +185 -0
- office365/runtime/converters/scalars.py +31 -0
- office365/runtime/converters/sql.py +69 -0
- office365/runtime/converters/streamers.py +105 -0
- office365/runtime/converters/streams.py +42 -0
- office365/runtime/converters/upsert.py +101 -0
- office365/runtime/exceptions.py +105 -0
- office365/runtime/http/prefer.py +26 -0
- office365/runtime/http/throttling.py +258 -56
- office365/runtime/imports.py +571 -0
- office365/runtime/limits.py +455 -0
- office365/runtime/odata/request.py +11 -2
- office365/runtime/odata/type.py +1 -0
- office365/runtime/odata/v3/batch_request.py +4 -2
- office365/runtime/odata/v4/batch_request.py +22 -7
- office365/runtime/operations.py +29 -0
- office365/runtime/parallel.py +12 -14
- office365/runtime/paths/v4/entity.py +2 -2
- office365/runtime/queries/batch.py +18 -1
- office365/runtime/queries/get_or_create.py +109 -0
- office365/runtime/record_collection.py +443 -0
- office365/runtime/retry.py +92 -26
- office365/runtime/transport/base.py +6 -1
- office365/runtime/transport/requests_transport.py +4 -0
- office365/runtime/transport/throttled_transport.py +67 -0
- office365/runtime/verification.py +40 -0
- office365/sharepoint/activities/logger.py +118 -8
- office365/sharepoint/administration/analytics/usage_service.py +15 -7
- office365/sharepoint/administration/sitemove/service.py +791 -8
- office365/sharepoint/alerts/alert.py +79 -0
- office365/sharepoint/apps/app_collection.py +25 -0
- office365/sharepoint/apps/launcher.py +16 -0
- office365/sharepoint/authpolicy/tenant/compliancereport.py +5 -0
- office365/sharepoint/businessdata/app_bdc_catalog.py +135 -0
- office365/sharepoint/businessdata/entityfieldvaluedictionary.py +65 -0
- office365/sharepoint/businessdata/entityidentifier.py +23 -0
- office365/sharepoint/businessdata/entityinstance.py +52 -0
- office365/sharepoint/businessdata/entityview.py +31 -0
- office365/sharepoint/businessdata/externalsubscriptionstore.py +9 -0
- office365/sharepoint/businessdata/typedescriptor.py +37 -0
- office365/sharepoint/client_context.py +40 -23
- office365/sharepoint/clientsidecomponent/hostedapps/app.py +21 -0
- office365/sharepoint/clientsidecomponent/hostedapps/manager.py +16 -0
- office365/sharepoint/comments/comment.py +84 -2
- office365/sharepoint/contentcenter/machinelearning/models/model.py +0 -23
- office365/sharepoint/contentcenter/machinelearning/publications/publication.py +0 -9
- office365/sharepoint/contentcenter/machinelearning/samples/sample.py +0 -14
- office365/sharepoint/contentcenter/machinelearning/workitems/item.py +0 -80
- office365/sharepoint/contentsolution/template_api.py +148 -0
- office365/sharepoint/contenttypes/collection.py +32 -10
- office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +9 -0
- office365/sharepoint/convergence/consumer_permissions.py +15 -0
- office365/sharepoint/convergence/migration_complete_state_api.py +25 -0
- office365/sharepoint/convergence/odcmetadatacleanedupapi.py +9 -0
- office365/sharepoint/documentmanagement/document_id.py +12 -0
- office365/sharepoint/entity.py +11 -2
- office365/sharepoint/entity_collection.py +2 -2
- office365/sharepoint/exceptions.py +194 -0
- office365/sharepoint/fields/builtin_field_id.py +45 -34
- office365/sharepoint/fields/builtin_field_name.py +123 -0
- office365/sharepoint/fields/coercion.py +131 -0
- office365/sharepoint/fields/collection.py +54 -37
- office365/sharepoint/fields/field.py +17 -0
- office365/sharepoint/fields/name.py +46 -2
- office365/sharepoint/files/collection.py +7 -1
- office365/sharepoint/files/file.py +54 -8
- office365/sharepoint/files/versions/version.py +38 -13
- office365/sharepoint/folders/collection.py +4 -0
- office365/sharepoint/folders/folder.py +91 -21
- office365/sharepoint/htmlpages/html_page.py +16 -0
- office365/sharepoint/htmlpages/html_page_service.py +19 -0
- office365/sharepoint/ir/migration.py +9 -0
- office365/sharepoint/listitems/caml/__init__.py +31 -0
- office365/sharepoint/listitems/caml/builder.py +129 -0
- office365/sharepoint/listitems/caml/expressions.py +424 -0
- office365/sharepoint/listitems/caml/fields.py +68 -0
- office365/sharepoint/listitems/caml/guard.py +63 -0
- office365/sharepoint/listitems/caml/query.py +71 -2
- office365/sharepoint/listitems/caml/values.py +113 -0
- office365/sharepoint/listitems/collection.py +21 -20
- office365/sharepoint/listitems/upsert.py +75 -0
- office365/sharepoint/lists/collection.py +29 -22
- office365/sharepoint/lists/exporter.py +4 -3
- office365/sharepoint/lists/list.py +397 -39
- office365/sharepoint/lists/smart_wiki_library_utility.py +58 -0
- office365/sharepoint/logger/export.py +12 -0
- office365/sharepoint/marketplace/app_metadata.py +97 -1
- office365/sharepoint/marketplace/appstatequeryjobdefinition.py +9 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_designs.py +35 -0
- office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +5 -0
- office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +107 -30
- office365/sharepoint/microfeed/data.py +0 -6
- office365/sharepoint/microservice/manager.py +61 -0
- office365/sharepoint/migrationcenter/common/task.py +193 -4
- office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -1
- office365/sharepoint/migrationcenter/deploy_status.py +13 -0
- office365/sharepoint/migrationcenter/service/properties.py +20 -0
- office365/sharepoint/migrationcenter/service/storage.py +34 -0
- office365/sharepoint/migrationcenter/spflight.py +13 -0
- office365/sharepoint/migrationcenter/urlparseresult.py +77 -0
- office365/sharepoint/multigeo/service/spmultigeoproxy.py +13 -0
- office365/sharepoint/navigation/servicerest.py +127 -0
- office365/sharepoint/oauth/authentication.py +13 -0
- office365/sharepoint/portal/theme_manager.py +120 -8
- office365/sharepoint/principal/users/user.py +10 -0
- office365/sharepoint/publishing/campaign/campaign.py +36 -1
- office365/sharepoint/publishing/feedvideopage.py +0 -7
- office365/sharepoint/publishing/pages/3d/page.py +0 -6
- office365/sharepoint/publishing/pages/page.py +0 -117
- office365/sharepoint/publishing/pages/reposts/repost.py +0 -7
- office365/sharepoint/publishing/pages/topics/topic.py +0 -7
- office365/sharepoint/publishing/subtitlefile.py +0 -40
- office365/sharepoint/quotamanagement/consumer/consumer_quota_info_api.py +14 -0
- office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +23 -0
- office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +9 -0
- office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +13 -0
- office365/sharepoint/request.py +57 -16
- office365/sharepoint/search/administration/document_crawl_log.py +24 -7
- office365/sharepoint/search/administration/providers/crawl_versions_info.py +29 -0
- office365/sharepoint/search/administration/providers/recycle_bin_info.py +23 -0
- office365/sharepoint/search/administration/providers/site_content_processing_info.py +67 -0
- office365/sharepoint/sites/site.py +976 -65
- office365/sharepoint/sites/siteprovisioninginfoprovider.py +13 -0
- office365/sharepoint/tenant/administration/datagovernance/insight_client.py +292 -23
- office365/sharepoint/tenant/administration/ddiadapter.py +97 -0
- office365/sharepoint/tenant/administration/internal/aad/collection.py +20 -0
- office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +0 -19
- office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +72 -1
- office365/sharepoint/tenant/administration/internal/appservice/principal.py +1 -3
- office365/sharepoint/tenant/administration/odb_license_enforcement_service.py +26 -0
- office365/sharepoint/tenant/administration/sites/properties.py +564 -6
- office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +60 -1
- office365/sharepoint/tenant/insights/reports/manager.py +24 -12
- office365/sharepoint/tenant/management/office365_tenant.py +451 -2
- office365/sharepoint/tenantadministration/catalog_management_collection.py +69 -0
- office365/sharepoint/tenantadministration/catalog_management_custom_properties_collection.py +237 -0
- office365/sharepoint/tenantadministration/catalog_management_restricted_content_discovery_collection.py +56 -0
- office365/sharepoint/tenantadministration/sp_data_governance_client_exception.py +7 -0
- office365/sharepoint/thresholds.py +529 -0
- office365/sharepoint/translation/jobs/job.py +72 -2
- office365/sharepoint/translation/jobs/status.py +47 -9
- office365/sharepoint/translation/sync_translator.py +15 -2
- office365/sharepoint/utilities/move_copy_util.py +2 -1
- office365/sharepoint/viva/connections/page.py +27 -0
- office365/sharepoint/viva/home.py +38 -0
- office365/sharepoint/viva/learningmanager.py +9 -0
- office365/sharepoint/viva/vivaresources.py +60 -0
- office365/sharepoint/webhooks/subscription.py +0 -11
- office365/sharepoint/webparts/definitions/definition.py +13 -0
- office365/sharepoint/webparts/limited_manager.py +29 -7
- office365/sharepoint/webs/context_web_information.py +14 -9
- office365/sharepoint/webs/templates/__init__.py +11 -0
- office365/sharepoint/webs/templates/type.py +74 -15
- office365/sharepoint/workflow/definition.py +6 -0
- office365/sharepoint/workflow/deployment_service.py +155 -0
- office365/sharepoint/workflow/instances/service.py +33 -0
- office365/sharepoint/workflow/interopservice.py +68 -0
- office365/sharepoint/workflow/messagingservice.py +24 -0
- office365/sharepoint/workflow/servicesmanager.py +41 -2
- office365/sharepoint/workflow/subscriptions/service.py +67 -0
- office365/sharepoint/workflow/subscriptions/subscription.py +31 -0
- office365/sharepoint/workflow/task.py +425 -0
- office365_rest_python_client-3.2.0.dist-info/METADATA +605 -0
- {office365_rest_python_client-3.1.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/RECORD +242 -185
- office365/migration/_util.py +0 -73
- office365/sharepoint/listitems/caml/types.py +0 -70
- office365_rest_python_client-3.1.0.dist-info/METADATA +0 -475
- {office365_rest_python_client-3.1.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -2,18 +2,18 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from datetime import datetime
|
|
4
4
|
from typing import Optional
|
|
5
|
+
from uuid import UUID
|
|
5
6
|
|
|
6
7
|
from office365.runtime.client_value_collection import ClientValueCollection
|
|
7
8
|
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
8
|
-
from office365.runtime.types.collections import StringCollection
|
|
9
|
+
from office365.runtime.types.collections import GuidCollection, StringCollection
|
|
9
10
|
from office365.sharepoint.client_context import ClientContext
|
|
10
11
|
from office365.sharepoint.entity import Entity
|
|
11
|
-
from office365.sharepoint.tenant.administration.deny_add_and_customize_pages_status import
|
|
12
|
-
DenyAddAndCustomizePagesStatus,
|
|
13
|
-
)
|
|
12
|
+
from office365.sharepoint.tenant.administration.deny_add_and_customize_pages_status import DenyAddAndCustomizePagesStatus
|
|
14
13
|
from office365.sharepoint.tenant.administration.jobs.spo_operation import SpoOperation
|
|
15
|
-
from office365.sharepoint.tenant.administration.sharing_capabilities import
|
|
16
|
-
|
|
14
|
+
from office365.sharepoint.tenant.administration.sharing_capabilities import SharingCapabilities
|
|
15
|
+
from office365.sharepoint.tenant.administration.spofileversionfiletypepolicysettings import (
|
|
16
|
+
SPOFileVersionFileTypePolicySettings,
|
|
17
17
|
)
|
|
18
18
|
from office365.sharepoint.translation.resource_entry import SPResourceEntry
|
|
19
19
|
|
|
@@ -194,6 +194,564 @@ class SiteProperties(Entity):
|
|
|
194
194
|
def property_ref_name(self) -> str:
|
|
195
195
|
return "SiteId"
|
|
196
196
|
|
|
197
|
+
@property
|
|
198
|
+
def allow_file_archive(self) -> Optional[bool]:
|
|
199
|
+
"""Gets the AllowFileArchive property"""
|
|
200
|
+
return self.properties.get("AllowFileArchive", None)
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
def allow_web_property_bag_update_when_deny_add_and_customize_pages_is_enabled(self) -> Optional[bool]:
|
|
204
|
+
"""Gets the AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled property"""
|
|
205
|
+
return self.properties.get("AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled", None)
|
|
206
|
+
|
|
207
|
+
@property
|
|
208
|
+
def anyone_link_recommended_expiration_in_days(self) -> Optional[int]:
|
|
209
|
+
"""Gets the AnyoneLinkRecommendedExpirationInDays property"""
|
|
210
|
+
return self.properties.get("AnyoneLinkRecommendedExpirationInDays", None)
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def archived_file_disk_used(self) -> Optional[int]:
|
|
214
|
+
"""Gets the ArchivedFileDiskUsed property"""
|
|
215
|
+
return self.properties.get("ArchivedFileDiskUsed", None)
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def archive_status(self) -> Optional[str]:
|
|
219
|
+
"""Gets the ArchiveStatus property"""
|
|
220
|
+
return self.properties.get("ArchiveStatus", None)
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def auth_context_strength(self) -> Optional[str]:
|
|
224
|
+
"""Gets the AuthContextStrength property"""
|
|
225
|
+
return self.properties.get("AuthContextStrength", None)
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
def authentication_context_limited_access(self) -> Optional[bool]:
|
|
229
|
+
"""Gets the AuthenticationContextLimitedAccess property"""
|
|
230
|
+
return self.properties.get("AuthenticationContextLimitedAccess", None)
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def authentication_context_name(self) -> Optional[str]:
|
|
234
|
+
"""Gets the AuthenticationContextName property"""
|
|
235
|
+
return self.properties.get("AuthenticationContextName", None)
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def average_resource_usage(self) -> Optional[float]:
|
|
239
|
+
"""Gets the AverageResourceUsage property"""
|
|
240
|
+
return self.properties.get("AverageResourceUsage", None)
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def block_download_policy(self) -> Optional[bool]:
|
|
244
|
+
"""Gets the BlockDownloadPolicy property"""
|
|
245
|
+
return self.properties.get("BlockDownloadPolicy", None)
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def block_guests_as_site_admin(self) -> Optional[int]:
|
|
249
|
+
"""Gets the BlockGuestsAsSiteAdmin property"""
|
|
250
|
+
return self.properties.get("BlockGuestsAsSiteAdmin", None)
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def bonus_disk_quota(self) -> Optional[int]:
|
|
254
|
+
"""Gets the BonusDiskQuota property"""
|
|
255
|
+
return self.properties.get("BonusDiskQuota", None)
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
def clear_group_id(self) -> Optional[bool]:
|
|
259
|
+
"""Gets the ClearGroupId property"""
|
|
260
|
+
return self.properties.get("ClearGroupId", None)
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def clear_restricted_access_control(self) -> Optional[bool]:
|
|
264
|
+
"""Gets the ClearRestrictedAccessControl property"""
|
|
265
|
+
return self.properties.get("ClearRestrictedAccessControl", None)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def comments_on_site_pages_disabled(self) -> Optional[bool]:
|
|
269
|
+
"""Gets the CommentsOnSitePagesDisabled property"""
|
|
270
|
+
return self.properties.get("CommentsOnSitePagesDisabled", None)
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
def conditional_access_policy(self) -> Optional[int]:
|
|
274
|
+
"""Gets the ConditionalAccessPolicy property"""
|
|
275
|
+
return self.properties.get("ConditionalAccessPolicy", None)
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
def current_resource_usage(self) -> Optional[float]:
|
|
279
|
+
"""Gets the CurrentResourceUsage property"""
|
|
280
|
+
return self.properties.get("CurrentResourceUsage", None)
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
def default_link_permission(self) -> Optional[int]:
|
|
284
|
+
"""Gets the DefaultLinkPermission property"""
|
|
285
|
+
return self.properties.get("DefaultLinkPermission", None)
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def default_link_to_existing_access(self) -> Optional[bool]:
|
|
289
|
+
"""Gets the DefaultLinkToExistingAccess property"""
|
|
290
|
+
return self.properties.get("DefaultLinkToExistingAccess", None)
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
def default_link_to_existing_access_reset(self) -> Optional[bool]:
|
|
294
|
+
"""Gets the DefaultLinkToExistingAccessReset property"""
|
|
295
|
+
return self.properties.get("DefaultLinkToExistingAccessReset", None)
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
def default_main_link_scope(self) -> Optional[int]:
|
|
299
|
+
"""Gets the DefaultMainLinkScope property"""
|
|
300
|
+
return self.properties.get("DefaultMainLinkScope", None)
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
def default_share_link_role(self) -> Optional[int]:
|
|
304
|
+
"""Gets the DefaultShareLinkRole property"""
|
|
305
|
+
return self.properties.get("DefaultShareLinkRole", None)
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
def default_share_link_scope(self) -> Optional[int]:
|
|
309
|
+
"""Gets the DefaultShareLinkScope property"""
|
|
310
|
+
return self.properties.get("DefaultShareLinkScope", None)
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
def default_sharing_link_type(self) -> Optional[int]:
|
|
314
|
+
"""Gets the DefaultSharingLinkType property"""
|
|
315
|
+
return self.properties.get("DefaultSharingLinkType", None)
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
def description(self) -> Optional[str]:
|
|
319
|
+
"""Gets the Description property"""
|
|
320
|
+
return self.properties.get("Description", None)
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
def disable_app_views(self) -> Optional[int]:
|
|
324
|
+
"""Gets the DisableAppViews property"""
|
|
325
|
+
return self.properties.get("DisableAppViews", None)
|
|
326
|
+
|
|
327
|
+
@property
|
|
328
|
+
def disable_classic_page_baseline_security_mode(self) -> Optional[bool]:
|
|
329
|
+
"""Gets the DisableClassicPageBaselineSecurityMode property"""
|
|
330
|
+
return self.properties.get("DisableClassicPageBaselineSecurityMode", None)
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def disable_company_wide_sharing_links(self) -> Optional[int]:
|
|
334
|
+
"""Gets the DisableCompanyWideSharingLinks property"""
|
|
335
|
+
return self.properties.get("DisableCompanyWideSharingLinks", None)
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
def disable_flows(self) -> Optional[int]:
|
|
339
|
+
"""Gets the DisableFlows property"""
|
|
340
|
+
return self.properties.get("DisableFlows", None)
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
def disable_site_branding(self) -> Optional[bool]:
|
|
344
|
+
"""Gets the DisableSiteBranding property"""
|
|
345
|
+
return self.properties.get("DisableSiteBranding", None)
|
|
346
|
+
|
|
347
|
+
@property
|
|
348
|
+
def enable_auto_expiration_version_trim(self) -> Optional[bool]:
|
|
349
|
+
"""Gets the EnableAutoExpirationVersionTrim property"""
|
|
350
|
+
return self.properties.get("EnableAutoExpirationVersionTrim", None)
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
def exclude_block_download_policy_site_owners(self) -> Optional[bool]:
|
|
354
|
+
"""Gets the ExcludeBlockDownloadPolicySiteOwners property"""
|
|
355
|
+
return self.properties.get("ExcludeBlockDownloadPolicySiteOwners", None)
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
def exclude_block_download_share_point_groups(self) -> StringCollection:
|
|
359
|
+
"""Gets the ExcludeBlockDownloadSharePointGroups property"""
|
|
360
|
+
return self.properties.get("ExcludeBlockDownloadSharePointGroups", StringCollection())
|
|
361
|
+
|
|
362
|
+
@property
|
|
363
|
+
def excluded_block_download_group_ids(self) -> GuidCollection:
|
|
364
|
+
"""Gets the ExcludedBlockDownloadGroupIds property"""
|
|
365
|
+
return self.properties.get("ExcludedBlockDownloadGroupIds", GuidCollection())
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
def expire_versions_after_days(self) -> Optional[int]:
|
|
369
|
+
"""Gets the ExpireVersionsAfterDays property"""
|
|
370
|
+
return self.properties.get("ExpireVersionsAfterDays", None)
|
|
371
|
+
|
|
372
|
+
@property
|
|
373
|
+
def external_user_expiration_in_days(self) -> Optional[int]:
|
|
374
|
+
"""Gets the ExternalUserExpirationInDays property"""
|
|
375
|
+
return self.properties.get("ExternalUserExpirationInDays", None)
|
|
376
|
+
|
|
377
|
+
@property
|
|
378
|
+
def file_types_for_version_expiration(self) -> StringCollection:
|
|
379
|
+
"""Gets the FileTypesForVersionExpiration property"""
|
|
380
|
+
return self.properties.get("FileTypesForVersionExpiration", StringCollection())
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
def group_id(self) -> Optional[UUID]:
|
|
384
|
+
"""Gets the GroupId property"""
|
|
385
|
+
return self.properties.get("GroupId", None)
|
|
386
|
+
|
|
387
|
+
@property
|
|
388
|
+
def has_holds(self) -> Optional[bool]:
|
|
389
|
+
"""Gets the HasHolds property"""
|
|
390
|
+
return self.properties.get("HasHolds", None)
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def hide_people_previewing_files(self) -> Optional[bool]:
|
|
394
|
+
"""Gets the HidePeoplePreviewingFiles property"""
|
|
395
|
+
return self.properties.get("HidePeoplePreviewingFiles", None)
|
|
396
|
+
|
|
397
|
+
@property
|
|
398
|
+
def hide_people_who_have_lists_open(self) -> Optional[bool]:
|
|
399
|
+
"""Gets the HidePeopleWhoHaveListsOpen property"""
|
|
400
|
+
return self.properties.get("HidePeopleWhoHaveListsOpen", None)
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def hub_site_id(self) -> Optional[UUID]:
|
|
404
|
+
"""Gets the HubSiteId property"""
|
|
405
|
+
return self.properties.get("HubSiteId", None)
|
|
406
|
+
|
|
407
|
+
@property
|
|
408
|
+
def ib_mode(self) -> Optional[str]:
|
|
409
|
+
"""Gets the IBMode property"""
|
|
410
|
+
return self.properties.get("IBMode", None)
|
|
411
|
+
|
|
412
|
+
@property
|
|
413
|
+
def ib_segments(self) -> GuidCollection:
|
|
414
|
+
"""Gets the IBSegments property"""
|
|
415
|
+
return self.properties.get("IBSegments", GuidCollection())
|
|
416
|
+
|
|
417
|
+
@property
|
|
418
|
+
def ib_segments_to_add(self) -> GuidCollection:
|
|
419
|
+
"""Gets the IBSegmentsToAdd property"""
|
|
420
|
+
return self.properties.get("IBSegmentsToAdd", GuidCollection())
|
|
421
|
+
|
|
422
|
+
@property
|
|
423
|
+
def ib_segments_to_remove(self) -> GuidCollection:
|
|
424
|
+
"""Gets the IBSegmentsToRemove property"""
|
|
425
|
+
return self.properties.get("IBSegmentsToRemove", GuidCollection())
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
def inherit_version_policy_from_tenant(self) -> Optional[bool]:
|
|
429
|
+
"""Gets the InheritVersionPolicyFromTenant property"""
|
|
430
|
+
return self.properties.get("InheritVersionPolicyFromTenant", None)
|
|
431
|
+
|
|
432
|
+
@property
|
|
433
|
+
def is_authoritative(self) -> Optional[bool]:
|
|
434
|
+
"""Gets the IsAuthoritative property"""
|
|
435
|
+
return self.properties.get("IsAuthoritative", None)
|
|
436
|
+
|
|
437
|
+
@property
|
|
438
|
+
def is_group_owner_site_admin(self) -> Optional[bool]:
|
|
439
|
+
"""Gets the IsGroupOwnerSiteAdmin property"""
|
|
440
|
+
return self.properties.get("IsGroupOwnerSiteAdmin", None)
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
def is_teams_channel_connected(self) -> Optional[bool]:
|
|
444
|
+
"""Gets the IsTeamsChannelConnected property"""
|
|
445
|
+
return self.properties.get("IsTeamsChannelConnected", None)
|
|
446
|
+
|
|
447
|
+
@property
|
|
448
|
+
def is_teams_connected(self) -> Optional[bool]:
|
|
449
|
+
"""Gets the IsTeamsConnected property"""
|
|
450
|
+
return self.properties.get("IsTeamsConnected", None)
|
|
451
|
+
|
|
452
|
+
@property
|
|
453
|
+
def lcid(self) -> Optional[int]:
|
|
454
|
+
"""Gets the Lcid property"""
|
|
455
|
+
return self.properties.get("Lcid", None)
|
|
456
|
+
|
|
457
|
+
@property
|
|
458
|
+
def limited_access_file_type(self) -> Optional[int]:
|
|
459
|
+
"""Gets the LimitedAccessFileType property"""
|
|
460
|
+
return self.properties.get("LimitedAccessFileType", None)
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
def lists_show_header_and_navigation(self) -> Optional[bool]:
|
|
464
|
+
"""Gets the ListsShowHeaderAndNavigation property"""
|
|
465
|
+
return self.properties.get("ListsShowHeaderAndNavigation", None)
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
def lock_issue(self) -> Optional[str]:
|
|
469
|
+
"""Gets the LockIssue property"""
|
|
470
|
+
return self.properties.get("LockIssue", None)
|
|
471
|
+
|
|
472
|
+
@property
|
|
473
|
+
def lock_reason(self) -> Optional[int]:
|
|
474
|
+
"""Gets the LockReason property"""
|
|
475
|
+
return self.properties.get("LockReason", None)
|
|
476
|
+
|
|
477
|
+
@property
|
|
478
|
+
def loop_default_sharing_link_role(self) -> Optional[int]:
|
|
479
|
+
"""Gets the LoopDefaultSharingLinkRole property"""
|
|
480
|
+
return self.properties.get("LoopDefaultSharingLinkRole", None)
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
def loop_default_sharing_link_scope(self) -> Optional[int]:
|
|
484
|
+
"""Gets the LoopDefaultSharingLinkScope property"""
|
|
485
|
+
return self.properties.get("LoopDefaultSharingLinkScope", None)
|
|
486
|
+
|
|
487
|
+
@property
|
|
488
|
+
def major_version_limit(self) -> Optional[int]:
|
|
489
|
+
"""Gets the MajorVersionLimit property"""
|
|
490
|
+
return self.properties.get("MajorVersionLimit", None)
|
|
491
|
+
|
|
492
|
+
@property
|
|
493
|
+
def major_with_minor_versions_limit(self) -> Optional[int]:
|
|
494
|
+
"""Gets the MajorWithMinorVersionsLimit property"""
|
|
495
|
+
return self.properties.get("MajorWithMinorVersionsLimit", None)
|
|
496
|
+
|
|
497
|
+
@property
|
|
498
|
+
def media_transcription(self) -> Optional[int]:
|
|
499
|
+
"""Gets the MediaTranscription property"""
|
|
500
|
+
return self.properties.get("MediaTranscription", None)
|
|
501
|
+
|
|
502
|
+
@property
|
|
503
|
+
def organization_link_max_expiration_in_days(self) -> Optional[int]:
|
|
504
|
+
"""Gets the OrganizationLinkMaxExpirationInDays property"""
|
|
505
|
+
return self.properties.get("OrganizationLinkMaxExpirationInDays", None)
|
|
506
|
+
|
|
507
|
+
@property
|
|
508
|
+
def organization_link_recommended_expiration_in_days(self) -> Optional[int]:
|
|
509
|
+
"""Gets the OrganizationLinkRecommendedExpirationInDays property"""
|
|
510
|
+
return self.properties.get("OrganizationLinkRecommendedExpirationInDays", None)
|
|
511
|
+
|
|
512
|
+
@property
|
|
513
|
+
def override_block_user_info_visibility(self) -> Optional[int]:
|
|
514
|
+
"""Gets the OverrideBlockUserInfoVisibility property"""
|
|
515
|
+
return self.properties.get("OverrideBlockUserInfoVisibility", None)
|
|
516
|
+
|
|
517
|
+
@property
|
|
518
|
+
def override_sharing_capability(self) -> Optional[bool]:
|
|
519
|
+
"""Gets the OverrideSharingCapability property"""
|
|
520
|
+
return self.properties.get("OverrideSharingCapability", None)
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
def override_tenant_anonymous_link_expiration_policy(self) -> Optional[bool]:
|
|
524
|
+
"""Gets the OverrideTenantAnonymousLinkExpirationPolicy property"""
|
|
525
|
+
return self.properties.get("OverrideTenantAnonymousLinkExpirationPolicy", None)
|
|
526
|
+
|
|
527
|
+
@property
|
|
528
|
+
def override_tenant_external_user_expiration_policy(self) -> Optional[bool]:
|
|
529
|
+
"""Gets the OverrideTenantExternalUserExpirationPolicy property"""
|
|
530
|
+
return self.properties.get("OverrideTenantExternalUserExpirationPolicy", None)
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
def override_tenant_organization_link_expiration_policy(self) -> Optional[bool]:
|
|
534
|
+
"""Gets the OverrideTenantOrganizationLinkExpirationPolicy property"""
|
|
535
|
+
return self.properties.get("OverrideTenantOrganizationLinkExpirationPolicy", None)
|
|
536
|
+
|
|
537
|
+
@property
|
|
538
|
+
def owner(self) -> Optional[str]:
|
|
539
|
+
"""Gets the Owner property"""
|
|
540
|
+
return self.properties.get("Owner", None)
|
|
541
|
+
|
|
542
|
+
@property
|
|
543
|
+
def owner_email(self) -> Optional[str]:
|
|
544
|
+
"""Gets the OwnerEmail property"""
|
|
545
|
+
return self.properties.get("OwnerEmail", None)
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
def owner_name(self) -> Optional[str]:
|
|
549
|
+
"""Gets the OwnerName property"""
|
|
550
|
+
return self.properties.get("OwnerName", None)
|
|
551
|
+
|
|
552
|
+
@property
|
|
553
|
+
def pwa_enabled(self) -> Optional[int]:
|
|
554
|
+
"""Gets the PWAEnabled property"""
|
|
555
|
+
return self.properties.get("PWAEnabled", None)
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
def read_only_access_policy(self) -> Optional[bool]:
|
|
559
|
+
"""Gets the ReadOnlyAccessPolicy property"""
|
|
560
|
+
return self.properties.get("ReadOnlyAccessPolicy", None)
|
|
561
|
+
|
|
562
|
+
@property
|
|
563
|
+
def read_only_for_block_download_policy(self) -> Optional[bool]:
|
|
564
|
+
"""Gets the ReadOnlyForBlockDownloadPolicy property"""
|
|
565
|
+
return self.properties.get("ReadOnlyForBlockDownloadPolicy", None)
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def read_only_for_unmanaged_devices(self) -> Optional[bool]:
|
|
569
|
+
"""Gets the ReadOnlyForUnmanagedDevices property"""
|
|
570
|
+
return self.properties.get("ReadOnlyForUnmanagedDevices", None)
|
|
571
|
+
|
|
572
|
+
@property
|
|
573
|
+
def related_group_id(self) -> Optional[UUID]:
|
|
574
|
+
"""Gets the RelatedGroupId property"""
|
|
575
|
+
return self.properties.get("RelatedGroupId", None)
|
|
576
|
+
|
|
577
|
+
@property
|
|
578
|
+
def remove_version_expiration_file_type_override(self) -> StringCollection:
|
|
579
|
+
"""Gets the RemoveVersionExpirationFileTypeOverride property"""
|
|
580
|
+
return self.properties.get("RemoveVersionExpirationFileTypeOverride", StringCollection())
|
|
581
|
+
|
|
582
|
+
@property
|
|
583
|
+
def request_files_link_enabled(self) -> Optional[bool]:
|
|
584
|
+
"""Gets the RequestFilesLinkEnabled property"""
|
|
585
|
+
return self.properties.get("RequestFilesLinkEnabled", None)
|
|
586
|
+
|
|
587
|
+
@property
|
|
588
|
+
def request_files_link_expiration_in_days(self) -> Optional[int]:
|
|
589
|
+
"""Gets the RequestFilesLinkExpirationInDays property"""
|
|
590
|
+
return self.properties.get("RequestFilesLinkExpirationInDays", None)
|
|
591
|
+
|
|
592
|
+
@property
|
|
593
|
+
def restrict_content_org_wide_search(self) -> Optional[bool]:
|
|
594
|
+
"""Gets the RestrictContentOrgWideSearch property"""
|
|
595
|
+
return self.properties.get("RestrictContentOrgWideSearch", None)
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
def restricted_access_control(self) -> Optional[bool]:
|
|
599
|
+
"""Gets the RestrictedAccessControl property"""
|
|
600
|
+
return self.properties.get("RestrictedAccessControl", None)
|
|
601
|
+
|
|
602
|
+
@property
|
|
603
|
+
def restricted_access_control_groups(self) -> GuidCollection:
|
|
604
|
+
"""Gets the RestrictedAccessControlGroups property"""
|
|
605
|
+
return self.properties.get("RestrictedAccessControlGroups", GuidCollection())
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
def restricted_access_control_groups_to_add(self) -> GuidCollection:
|
|
609
|
+
"""Gets the RestrictedAccessControlGroupsToAdd property"""
|
|
610
|
+
return self.properties.get("RestrictedAccessControlGroupsToAdd", GuidCollection())
|
|
611
|
+
|
|
612
|
+
@property
|
|
613
|
+
def restricted_access_control_groups_to_remove(self) -> GuidCollection:
|
|
614
|
+
"""Gets the RestrictedAccessControlGroupsToRemove property"""
|
|
615
|
+
return self.properties.get("RestrictedAccessControlGroupsToRemove", GuidCollection())
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
def restricted_content_discoveryfor_copilot_and_agents(self) -> Optional[bool]:
|
|
619
|
+
"""Gets the RestrictedContentDiscoveryforCopilotAndAgents property"""
|
|
620
|
+
return self.properties.get("RestrictedContentDiscoveryforCopilotAndAgents", None)
|
|
621
|
+
|
|
622
|
+
@property
|
|
623
|
+
def restricted_to_region(self) -> Optional[int]:
|
|
624
|
+
"""Gets the RestrictedToRegion property"""
|
|
625
|
+
return self.properties.get("RestrictedToRegion", None)
|
|
626
|
+
|
|
627
|
+
@property
|
|
628
|
+
def sandboxed_code_activation_capability(self) -> Optional[int]:
|
|
629
|
+
"""Gets the SandboxedCodeActivationCapability property"""
|
|
630
|
+
return self.properties.get("SandboxedCodeActivationCapability", None)
|
|
631
|
+
|
|
632
|
+
@property
|
|
633
|
+
def sensitivity_label(self) -> Optional[UUID]:
|
|
634
|
+
"""Gets the SensitivityLabel property"""
|
|
635
|
+
return self.properties.get("SensitivityLabel", None)
|
|
636
|
+
|
|
637
|
+
@property
|
|
638
|
+
def sensitivity_label2(self) -> Optional[str]:
|
|
639
|
+
"""Gets the SensitivityLabel2 property"""
|
|
640
|
+
return self.properties.get("SensitivityLabel2", None)
|
|
641
|
+
|
|
642
|
+
@property
|
|
643
|
+
def set_owner_without_updating_secondary_admin(self) -> Optional[bool]:
|
|
644
|
+
"""Gets the SetOwnerWithoutUpdatingSecondaryAdmin property"""
|
|
645
|
+
return self.properties.get("SetOwnerWithoutUpdatingSecondaryAdmin", None)
|
|
646
|
+
|
|
647
|
+
@property
|
|
648
|
+
def sharing_allowed_domain_list(self) -> Optional[str]:
|
|
649
|
+
"""Gets the SharingAllowedDomainList property"""
|
|
650
|
+
return self.properties.get("SharingAllowedDomainList", None)
|
|
651
|
+
|
|
652
|
+
@property
|
|
653
|
+
def sharing_blocked_domain_list(self) -> Optional[str]:
|
|
654
|
+
"""Gets the SharingBlockedDomainList property"""
|
|
655
|
+
return self.properties.get("SharingBlockedDomainList", None)
|
|
656
|
+
|
|
657
|
+
@property
|
|
658
|
+
def sharing_domain_restriction_mode(self) -> Optional[int]:
|
|
659
|
+
"""Gets the SharingDomainRestrictionMode property"""
|
|
660
|
+
return self.properties.get("SharingDomainRestrictionMode", None)
|
|
661
|
+
|
|
662
|
+
@property
|
|
663
|
+
def sharing_lock_down_can_be_cleared(self) -> Optional[bool]:
|
|
664
|
+
"""Gets the SharingLockDownCanBeCleared property"""
|
|
665
|
+
return self.properties.get("SharingLockDownCanBeCleared", None)
|
|
666
|
+
|
|
667
|
+
@property
|
|
668
|
+
def sharing_lock_down_enabled(self) -> Optional[bool]:
|
|
669
|
+
"""Gets the SharingLockDownEnabled property"""
|
|
670
|
+
return self.properties.get("SharingLockDownEnabled", None)
|
|
671
|
+
|
|
672
|
+
@property
|
|
673
|
+
def show_people_picker_suggestions_for_guest_users(self) -> Optional[bool]:
|
|
674
|
+
"""Gets the ShowPeoplePickerSuggestionsForGuestUsers property"""
|
|
675
|
+
return self.properties.get("ShowPeoplePickerSuggestionsForGuestUsers", None)
|
|
676
|
+
|
|
677
|
+
@property
|
|
678
|
+
def site_defined_sharing_capability(self) -> Optional[int]:
|
|
679
|
+
"""Gets the SiteDefinedSharingCapability property"""
|
|
680
|
+
return self.properties.get("SiteDefinedSharingCapability", None)
|
|
681
|
+
|
|
682
|
+
@property
|
|
683
|
+
def site_id(self) -> Optional[UUID]:
|
|
684
|
+
"""Gets the SiteId property"""
|
|
685
|
+
return self.properties.get("SiteId", None)
|
|
686
|
+
|
|
687
|
+
@property
|
|
688
|
+
def social_bar_on_site_pages_disabled(self) -> Optional[bool]:
|
|
689
|
+
"""Gets the SocialBarOnSitePagesDisabled property"""
|
|
690
|
+
return self.properties.get("SocialBarOnSitePagesDisabled", None)
|
|
691
|
+
|
|
692
|
+
@property
|
|
693
|
+
def status(self) -> Optional[str]:
|
|
694
|
+
"""Gets the Status property"""
|
|
695
|
+
return self.properties.get("Status", None)
|
|
696
|
+
|
|
697
|
+
@property
|
|
698
|
+
def storage_maximum_level(self) -> Optional[int]:
|
|
699
|
+
"""Gets the StorageMaximumLevel property"""
|
|
700
|
+
return self.properties.get("StorageMaximumLevel", None)
|
|
701
|
+
|
|
702
|
+
@property
|
|
703
|
+
def storage_quota_type(self) -> Optional[str]:
|
|
704
|
+
"""Gets the StorageQuotaType property"""
|
|
705
|
+
return self.properties.get("StorageQuotaType", None)
|
|
706
|
+
|
|
707
|
+
@property
|
|
708
|
+
def storage_usage(self) -> Optional[int]:
|
|
709
|
+
"""Gets the StorageUsage property"""
|
|
710
|
+
return self.properties.get("StorageUsage", None)
|
|
711
|
+
|
|
712
|
+
@property
|
|
713
|
+
def storage_warning_level(self) -> Optional[int]:
|
|
714
|
+
"""Gets the StorageWarningLevel property"""
|
|
715
|
+
return self.properties.get("StorageWarningLevel", None)
|
|
716
|
+
|
|
717
|
+
@property
|
|
718
|
+
def teams_channel_type(self) -> Optional[int]:
|
|
719
|
+
"""Gets the TeamsChannelType property"""
|
|
720
|
+
return self.properties.get("TeamsChannelType", None)
|
|
721
|
+
|
|
722
|
+
@property
|
|
723
|
+
def template(self) -> Optional[str]:
|
|
724
|
+
"""Gets the Template property"""
|
|
725
|
+
return self.properties.get("Template", None)
|
|
726
|
+
|
|
727
|
+
@property
|
|
728
|
+
def user_code_maximum_level(self) -> Optional[float]:
|
|
729
|
+
"""Gets the UserCodeMaximumLevel property"""
|
|
730
|
+
return self.properties.get("UserCodeMaximumLevel", None)
|
|
731
|
+
|
|
732
|
+
@property
|
|
733
|
+
def user_code_warning_level(self) -> Optional[float]:
|
|
734
|
+
"""Gets the UserCodeWarningLevel property"""
|
|
735
|
+
return self.properties.get("UserCodeWarningLevel", None)
|
|
736
|
+
|
|
737
|
+
@property
|
|
738
|
+
def version_count(self) -> Optional[int]:
|
|
739
|
+
"""Gets the VersionCount property"""
|
|
740
|
+
return self.properties.get("VersionCount", None)
|
|
741
|
+
|
|
742
|
+
@property
|
|
743
|
+
def version_policy_file_type_override(self) -> ClientValueCollection[SPOFileVersionFileTypePolicySettings]:
|
|
744
|
+
"""Gets the VersionPolicyFileTypeOverride property"""
|
|
745
|
+
return self.properties.get(
|
|
746
|
+
"VersionPolicyFileTypeOverride",
|
|
747
|
+
ClientValueCollection[SPOFileVersionFileTypePolicySettings](SPOFileVersionFileTypePolicySettings),
|
|
748
|
+
)
|
|
749
|
+
|
|
750
|
+
@property
|
|
751
|
+
def version_size(self) -> Optional[int]:
|
|
752
|
+
"""Gets the VersionSize property"""
|
|
753
|
+
return self.properties.get("VersionSize", None)
|
|
754
|
+
|
|
197
755
|
def get_property(self, name, default_value=None):
|
|
198
756
|
if default_value is None:
|
|
199
757
|
property_mapping = {
|
|
@@ -1,5 +1,64 @@
|
|
|
1
|
+
from uuid import UUID
|
|
2
|
+
|
|
3
|
+
from office365.runtime.client_result import ClientResult
|
|
4
|
+
from office365.runtime.client_value_collection import ClientValueCollection
|
|
5
|
+
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
1
6
|
from office365.sharepoint.entity import Entity
|
|
7
|
+
from office365.sharepoint.tenant.administration.spdatagovernancesarstartsitereviewresponse import (
|
|
8
|
+
SPDataGovernanceSARStartSiteReviewResponse,
|
|
9
|
+
)
|
|
10
|
+
from office365.sharepoint.tenant.administration.spdatagovernancesitereviewsresponse import (
|
|
11
|
+
SPDataGovernanceSiteReviewsResponse,
|
|
12
|
+
)
|
|
2
13
|
|
|
3
14
|
|
|
4
15
|
class SPDataGovernanceSARRestApiClient(Entity):
|
|
5
|
-
|
|
16
|
+
def get_spo_site_review(
|
|
17
|
+
self, report_entity: int, site_reviewtatus: int, site_review_id: UUID, site_id: UUID
|
|
18
|
+
) -> ClientResult[ClientValueCollection[SPDataGovernanceSiteReviewsResponse]]:
|
|
19
|
+
"""GetSPOSiteReview operation.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
report_entity (int): reportEntity parameter
|
|
23
|
+
site_reviewtatus (int): siteReviewtatus parameter
|
|
24
|
+
site_review_id (UUID): siteReviewID parameter
|
|
25
|
+
site_id (UUID): siteID parameter
|
|
26
|
+
"""
|
|
27
|
+
return_type = ClientResult(self.context, ClientValueCollection[SPDataGovernanceSiteReviewsResponse]())
|
|
28
|
+
qry = ServiceOperationQuery(
|
|
29
|
+
self,
|
|
30
|
+
"GetSPOSiteReview",
|
|
31
|
+
None,
|
|
32
|
+
{
|
|
33
|
+
"reportEntity": report_entity,
|
|
34
|
+
"siteReviewtatus": site_reviewtatus,
|
|
35
|
+
"siteReviewID": site_review_id,
|
|
36
|
+
"siteID": site_id,
|
|
37
|
+
},
|
|
38
|
+
None,
|
|
39
|
+
return_type,
|
|
40
|
+
)
|
|
41
|
+
self.context.add_query(qry)
|
|
42
|
+
return return_type
|
|
43
|
+
|
|
44
|
+
def start_spo_site_review(
|
|
45
|
+
self, detailed_source_report_id: UUID, site_id: UUID, admin_comment: str
|
|
46
|
+
) -> ClientResult[SPDataGovernanceSARStartSiteReviewResponse]:
|
|
47
|
+
"""StartSPOSiteReview operation.
|
|
48
|
+
|
|
49
|
+
Args:
|
|
50
|
+
detailed_source_report_id (UUID): detailedSourceReportId parameter
|
|
51
|
+
site_id (UUID): siteId parameter
|
|
52
|
+
admin_comment (str): adminComment parameter
|
|
53
|
+
"""
|
|
54
|
+
return_type = ClientResult(self.context, SPDataGovernanceSARStartSiteReviewResponse())
|
|
55
|
+
qry = ServiceOperationQuery(
|
|
56
|
+
self,
|
|
57
|
+
"StartSPOSiteReview",
|
|
58
|
+
None,
|
|
59
|
+
{"detailedSourceReportId": detailed_source_report_id, "siteId": site_id, "adminComment": admin_comment},
|
|
60
|
+
None,
|
|
61
|
+
return_type,
|
|
62
|
+
)
|
|
63
|
+
self.context.add_query(qry)
|
|
64
|
+
return return_type
|