msgraph-sdk 1.14.0__py3-none-any.whl → 1.15.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.
- msgraph/_version.py +1 -1
- msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py +3 -3
- msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
- msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +3 -3
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +3 -3
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +7 -7
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +3 -3
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +6 -6
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py +78 -0
- msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py +10 -0
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
- msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
- msgraph/generated/groups/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/assign_license/assign_license_request_builder.py +2 -2
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +1 -1
- msgraph/generated/groups/item/group_item_request_builder.py +2 -2
- msgraph/generated/groups/item/renew/renew_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
- msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +6 -6
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
- msgraph/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +3 -3
- msgraph/generated/kiota-dom-export.txt +989 -0
- msgraph/generated/kiota-lock.json +2 -2
- msgraph/generated/models/administrative_unit.py +1 -1
- msgraph/generated/models/app_role_assignment.py +2 -2
- msgraph/generated/models/application.py +1 -1
- msgraph/generated/models/base_item.py +16 -0
- msgraph/generated/models/conditional_access_client_applications.py +1 -1
- msgraph/generated/models/conditional_access_condition_set.py +2 -2
- msgraph/generated/models/device.py +1 -1
- msgraph/generated/models/eligibility_filtering_enabled_entities.py +9 -0
- msgraph/generated/models/entity.py +16 -0
- msgraph/generated/models/file_storage.py +4 -0
- msgraph/generated/models/file_storage_container.py +16 -0
- msgraph/generated/models/file_storage_container_settings.py +8 -0
- msgraph/generated/models/internal_domain_federation.py +4 -0
- msgraph/generated/models/open_shift.py +7 -3
- msgraph/generated/models/org_contact.py +1 -1
- msgraph/generated/models/recycle_bin.py +70 -0
- msgraph/generated/models/recycle_bin_item.py +67 -0
- msgraph/generated/models/recycle_bin_item_collection_response.py +60 -0
- msgraph/generated/models/recycle_bin_settings.py +53 -0
- msgraph/generated/models/security/data_set.py +4 -0
- msgraph/generated/models/service_principal.py +1 -1
- msgraph/generated/models/shift.py +4 -0
- msgraph/generated/models/shift_activity.py +2 -2
- msgraph/generated/models/site_lock_state.py +9 -0
- msgraph/generated/models/time_off.py +5 -1
- msgraph/generated/models/user.py +1 -1
- msgraph/generated/models/workforce_integration.py +9 -1
- msgraph/generated/models/workforce_integration_supported_entities.py +3 -0
- msgraph/generated/models/x509_certificate_authentication_method_configuration.py +8 -0
- msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py +66 -0
- msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py +7 -0
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/organization_item_request_builder.py +4 -4
- msgraph/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py +4 -3
- msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +40 -0
- msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py +58 -0
- msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py +85 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
- msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py +80 -0
- msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py +106 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +267 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py +58 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py +85 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py +62 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py +60 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py +89 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py +197 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py +207 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py +80 -0
- msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py +77 -0
- msgraph/generated/storage/file_storage/file_storage_request_builder.py +10 -0
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
- msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
- msgraph/generated/users/item/user_item_request_builder.py +2 -2
- msgraph/generated/users/users_request_builder.py +5 -5
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
- {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/RECORD +155 -86
- {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/WHEEL +0 -0
@@ -40,10 +40,10 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
40
40
|
|
41
41
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
42
42
|
"""
|
43
|
-
Deletes a
|
43
|
+
Deletes a windows10MobileCompliancePolicy.
|
44
44
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
45
45
|
Returns: None
|
46
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
46
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0
|
47
47
|
"""
|
48
48
|
request_info = self.to_delete_request_information(
|
49
49
|
request_configuration
|
@@ -59,10 +59,10 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
59
59
|
|
60
60
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
61
61
|
"""
|
62
|
-
Read properties and relationships of the
|
62
|
+
Read properties and relationships of the windowsPhone81CompliancePolicy object.
|
63
63
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
64
64
|
Returns: Optional[DeviceCompliancePolicy]
|
65
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
65
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0
|
66
66
|
"""
|
67
67
|
request_info = self.to_get_request_information(
|
68
68
|
request_configuration
|
@@ -80,11 +80,11 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
80
80
|
|
81
81
|
async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]:
|
82
82
|
"""
|
83
|
-
Update the properties of a
|
83
|
+
Update the properties of a windows10CompliancePolicy object.
|
84
84
|
param body: The request body
|
85
85
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
86
86
|
Returns: Optional[DeviceCompliancePolicy]
|
87
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
87
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0
|
88
88
|
"""
|
89
89
|
if body is None:
|
90
90
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Deletes a
|
107
|
+
Deletes a windows10MobileCompliancePolicy.
|
108
108
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
109
|
Returns: RequestInformation
|
110
110
|
"""
|
@@ -115,7 +115,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
Read properties and relationships of the
|
118
|
+
Read properties and relationships of the windowsPhone81CompliancePolicy object.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -126,7 +126,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Update the properties of a
|
129
|
+
Update the properties of a windows10CompliancePolicy object.
|
130
130
|
param body: The request body
|
131
131
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
132
132
|
Returns: RequestInformation
|
@@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilder(BaseRequestBuilder):
|
|
240
240
|
@dataclass
|
241
241
|
class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters():
|
242
242
|
"""
|
243
|
-
Read properties and relationships of the
|
243
|
+
Read properties and relationships of the windowsPhone81CompliancePolicy object.
|
244
244
|
"""
|
245
245
|
def get_query_parameter(self,original_name: str) -> str:
|
246
246
|
"""
|
msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py
CHANGED
@@ -69,11 +69,11 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new windows81GeneralConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new windows81GeneralConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -39,10 +39,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
39
39
|
|
40
40
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
41
41
|
"""
|
42
|
-
Deletes a
|
42
|
+
Deletes a iosDeviceFeaturesConfiguration.
|
43
43
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
44
44
|
Returns: None
|
45
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
45
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0
|
46
46
|
"""
|
47
47
|
request_info = self.to_delete_request_information(
|
48
48
|
request_configuration
|
@@ -58,10 +58,10 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
58
58
|
|
59
59
|
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]:
|
60
60
|
"""
|
61
|
-
Read properties and relationships of the
|
61
|
+
Read properties and relationships of the androidCustomConfiguration object.
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: Optional[DeviceConfiguration]
|
64
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-
|
64
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0
|
65
65
|
"""
|
66
66
|
request_info = self.to_get_request_information(
|
67
67
|
request_configuration
|
@@ -115,7 +115,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
115
115
|
|
116
116
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
117
117
|
"""
|
118
|
-
Deletes a
|
118
|
+
Deletes a iosDeviceFeaturesConfiguration.
|
119
119
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
120
120
|
Returns: RequestInformation
|
121
121
|
"""
|
@@ -126,7 +126,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Read properties and relationships of the
|
129
|
+
Read properties and relationships of the androidCustomConfiguration object.
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: RequestInformation
|
132
132
|
"""
|
@@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
233
233
|
@dataclass
|
234
234
|
class DeviceConfigurationItemRequestBuilderGetQueryParameters():
|
235
235
|
"""
|
236
|
-
Read properties and relationships of the
|
236
|
+
Read properties and relationships of the androidCustomConfiguration object.
|
237
237
|
"""
|
238
238
|
def get_query_parameter(self,original_name: str) -> str:
|
239
239
|
"""
|
@@ -69,11 +69,11 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
71
71
|
"""
|
72
|
-
Create a new
|
72
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class DeviceEnrollmentConfigurationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
Create a new
|
107
|
+
Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -34,10 +34,10 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
34
34
|
|
35
35
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
36
36
|
"""
|
37
|
-
Deletes a
|
37
|
+
Deletes a deviceEnrollmentLimitConfiguration.
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: None
|
40
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0
|
41
41
|
"""
|
42
42
|
request_info = self.to_delete_request_information(
|
43
43
|
request_configuration
|
@@ -74,11 +74,11 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
|
76
76
|
"""
|
77
|
-
Update the properties of a
|
77
|
+
Update the properties of a deviceEnrollmentLimitConfiguration object.
|
78
78
|
param body: The request body
|
79
79
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
80
80
|
Returns: Optional[DeviceEnrollmentConfiguration]
|
81
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-
|
81
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0
|
82
82
|
"""
|
83
83
|
if body is None:
|
84
84
|
raise TypeError("body cannot be null.")
|
@@ -98,7 +98,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
98
98
|
|
99
99
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
100
100
|
"""
|
101
|
-
Deletes a
|
101
|
+
Deletes a deviceEnrollmentLimitConfiguration.
|
102
102
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
103
103
|
Returns: RequestInformation
|
104
104
|
"""
|
@@ -120,7 +120,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
|
|
120
120
|
|
121
121
|
def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
122
122
|
"""
|
123
|
-
Update the properties of a
|
123
|
+
Update the properties of a deviceEnrollmentLimitConfiguration object.
|
124
124
|
param body: The request body
|
125
125
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
126
126
|
Returns: RequestInformation
|
@@ -95,7 +95,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
95
95
|
Read properties and relationships of the deviceManagement object.
|
96
96
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
97
97
|
Returns: Optional[DeviceManagement]
|
98
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
98
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-get?view=graph-rest-1.0
|
99
99
|
"""
|
100
100
|
request_info = self.to_get_request_information(
|
101
101
|
request_configuration
|
@@ -129,7 +129,7 @@ class DeviceManagementRequestBuilder(BaseRequestBuilder):
|
|
129
129
|
param body: The request body
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: Optional[DeviceManagement]
|
132
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
132
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-devices-devicemanagement-update?view=graph-rest-1.0
|
133
133
|
"""
|
134
134
|
if body is None:
|
135
135
|
raise TypeError("body cannot be null.")
|
msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py
CHANGED
@@ -32,10 +32,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Deletes a
|
35
|
+
Deletes a deviceAndAppManagementRoleDefinition.
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -96,7 +96,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Deletes a
|
99
|
+
Deletes a deviceAndAppManagementRoleDefinition.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -0,0 +1,78 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
from dataclasses import dataclass, field
|
3
|
+
from kiota_abstractions.base_request_builder import BaseRequestBuilder
|
4
|
+
from kiota_abstractions.base_request_configuration import RequestConfiguration
|
5
|
+
from kiota_abstractions.default_query_parameters import QueryParameters
|
6
|
+
from kiota_abstractions.get_path_parameters import get_path_parameters
|
7
|
+
from kiota_abstractions.method import Method
|
8
|
+
from kiota_abstractions.request_adapter import RequestAdapter
|
9
|
+
from kiota_abstractions.request_information import RequestInformation
|
10
|
+
from kiota_abstractions.request_option import RequestOption
|
11
|
+
from kiota_abstractions.serialization import Parsable, ParsableFactory
|
12
|
+
from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union
|
13
|
+
from warnings import warn
|
14
|
+
|
15
|
+
if TYPE_CHECKING:
|
16
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
17
|
+
|
18
|
+
class DiscardCheckoutRequestBuilder(BaseRequestBuilder):
|
19
|
+
"""
|
20
|
+
Provides operations to call the discardCheckout method.
|
21
|
+
"""
|
22
|
+
def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None:
|
23
|
+
"""
|
24
|
+
Instantiates a new DiscardCheckoutRequestBuilder and sets the default values.
|
25
|
+
param path_parameters: The raw url or the url-template parameters for the request.
|
26
|
+
param request_adapter: The request adapter to use to execute the requests.
|
27
|
+
Returns: None
|
28
|
+
"""
|
29
|
+
super().__init__(request_adapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/discardCheckout", path_parameters)
|
30
|
+
|
31
|
+
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
32
|
+
"""
|
33
|
+
Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
|
34
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
35
|
+
Returns: None
|
36
|
+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-discardcheckout?view=graph-rest-1.0
|
37
|
+
"""
|
38
|
+
request_info = self.to_post_request_information(
|
39
|
+
request_configuration
|
40
|
+
)
|
41
|
+
from ......models.o_data_errors.o_data_error import ODataError
|
42
|
+
|
43
|
+
error_mapping: Dict[str, type[ParsableFactory]] = {
|
44
|
+
"XXX": ODataError,
|
45
|
+
}
|
46
|
+
if not self.request_adapter:
|
47
|
+
raise Exception("Http core is null")
|
48
|
+
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
|
49
|
+
|
50
|
+
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
51
|
+
"""
|
52
|
+
Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
|
53
|
+
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
|
+
Returns: RequestInformation
|
55
|
+
"""
|
56
|
+
request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
|
57
|
+
request_info.configure(request_configuration)
|
58
|
+
request_info.headers.try_add("Accept", "application/json")
|
59
|
+
return request_info
|
60
|
+
|
61
|
+
def with_url(self,raw_url: str) -> DiscardCheckoutRequestBuilder:
|
62
|
+
"""
|
63
|
+
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
64
|
+
param raw_url: The raw URL to use for the request builder.
|
65
|
+
Returns: DiscardCheckoutRequestBuilder
|
66
|
+
"""
|
67
|
+
if raw_url is None:
|
68
|
+
raise TypeError("raw_url cannot be null.")
|
69
|
+
return DiscardCheckoutRequestBuilder(self.request_adapter, raw_url)
|
70
|
+
|
71
|
+
@dataclass
|
72
|
+
class DiscardCheckoutRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
|
73
|
+
"""
|
74
|
+
Configuration for the request such as headers, query parameters, and middleware options.
|
75
|
+
"""
|
76
|
+
warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
|
77
|
+
|
78
|
+
|
@@ -27,6 +27,7 @@ if TYPE_CHECKING:
|
|
27
27
|
from .create_upload_session.create_upload_session_request_builder import CreateUploadSessionRequestBuilder
|
28
28
|
from .delta.delta_request_builder import DeltaRequestBuilder
|
29
29
|
from .delta_with_token.delta_with_token_request_builder import DeltaWithTokenRequestBuilder
|
30
|
+
from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder
|
30
31
|
from .extract_sensitivity_labels.extract_sensitivity_labels_request_builder import ExtractSensitivityLabelsRequestBuilder
|
31
32
|
from .follow.follow_request_builder import FollowRequestBuilder
|
32
33
|
from .get_activities_by_interval.get_activities_by_interval_request_builder import GetActivitiesByIntervalRequestBuilder
|
@@ -309,6 +310,15 @@ class DriveItemItemRequestBuilder(BaseRequestBuilder):
|
|
309
310
|
|
310
311
|
return DeltaRequestBuilder(self.request_adapter, self.path_parameters)
|
311
312
|
|
313
|
+
@property
|
314
|
+
def discard_checkout(self) -> DiscardCheckoutRequestBuilder:
|
315
|
+
"""
|
316
|
+
Provides operations to call the discardCheckout method.
|
317
|
+
"""
|
318
|
+
from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder
|
319
|
+
|
320
|
+
return DiscardCheckoutRequestBuilder(self.request_adapter, self.path_parameters)
|
321
|
+
|
312
322
|
@property
|
313
323
|
def extract_sensitivity_labels(self) -> ExtractSensitivityLabelsRequestBuilder:
|
314
324
|
"""
|
@@ -70,11 +70,11 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]:
|
72
72
|
"""
|
73
|
-
|
73
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
74
74
|
param body: The request body
|
75
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
76
|
Returns: Optional[ItemRetentionLabel]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/driveitem-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -116,7 +116,7 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
116
116
|
|
117
117
|
def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
118
118
|
"""
|
119
|
-
|
119
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
120
120
|
param body: The request body
|
121
121
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
122
122
|
Returns: RequestInformation
|
@@ -32,11 +32,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
34
34
|
"""
|
35
|
-
|
35
|
+
Use this API to create a new Table.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[WorkbookTable]
|
39
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
if body is None:
|
42
42
|
raise TypeError("body cannot be null.")
|
@@ -56,7 +56,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
|
59
|
+
Use this API to create a new Table.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|
msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py
CHANGED
@@ -32,11 +32,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
34
34
|
"""
|
35
|
-
|
35
|
+
Use this API to create a new Table.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[WorkbookTable]
|
39
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
if body is None:
|
42
42
|
raise TypeError("body cannot be null.")
|
@@ -56,7 +56,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
|
59
|
+
Use this API to create a new Table.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|
msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py
CHANGED
@@ -73,11 +73,11 @@ class ExternalItemItemRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]:
|
75
75
|
"""
|
76
|
-
|
76
|
+
Create a new externalItem object.
|
77
77
|
param body: The request body
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: Optional[ExternalItem]
|
80
|
-
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-
|
80
|
+
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0
|
81
81
|
"""
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
@@ -119,7 +119,7 @@ class ExternalItemItemRequestBuilder(BaseRequestBuilder):
|
|
119
119
|
|
120
120
|
def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
121
121
|
"""
|
122
|
-
|
122
|
+
Create a new externalItem object.
|
123
123
|
param body: The request body
|
124
124
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
125
125
|
Returns: RequestInformation
|
@@ -73,11 +73,11 @@ class GroupsRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]:
|
75
75
|
"""
|
76
|
-
Create a new group
|
76
|
+
Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
|
77
77
|
param body: The request body
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: Optional[Group]
|
80
|
-
Find more info here: https://learn.microsoft.com/graph/api/group-
|
80
|
+
Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0
|
81
81
|
"""
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
@@ -108,7 +108,7 @@ class GroupsRequestBuilder(BaseRequestBuilder):
|
|
108
108
|
|
109
109
|
def to_post_request_information(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
110
110
|
"""
|
111
|
-
Create a new group
|
111
|
+
Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
|
112
112
|
param body: The request body
|
113
113
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
114
114
|
Returns: RequestInformation
|
@@ -32,7 +32,7 @@ class AssignLicenseRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]:
|
34
34
|
"""
|
35
|
-
Add or remove licenses on
|
35
|
+
Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request.
|
36
36
|
param body: The request body
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: Optional[Group]
|
@@ -56,7 +56,7 @@ class AssignLicenseRequestBuilder(BaseRequestBuilder):
|
|
56
56
|
|
57
57
|
def to_post_request_information(self,body: AssignLicensePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
58
58
|
"""
|
59
|
-
Add or remove licenses on
|
59
|
+
Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request.
|
60
60
|
param body: The request body
|
61
61
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
Returns: RequestInformation
|
@@ -69,11 +69,11 @@ class ConversationsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]:
|
71
71
|
"""
|
72
|
-
|
72
|
+
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
73
73
|
param body: The request body
|
74
74
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
Returns: Optional[Conversation]
|
76
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
76
|
+
Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0
|
77
77
|
"""
|
78
78
|
if body is None:
|
79
79
|
raise TypeError("body cannot be null.")
|
@@ -104,7 +104,7 @@ class ConversationsRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
|
107
|
+
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
108
108
|
param body: The request body
|
109
109
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
110
110
|
Returns: RequestInformation
|
@@ -35,7 +35,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
35
35
|
Delete conversation.
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -74,7 +74,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
76
76
|
"""
|
77
|
-
Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
77
|
+
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: None
|
80
80
|
Find more info here: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0
|
@@ -138,7 +138,7 @@ class GroupItemRequestBuilder(BaseRequestBuilder):
|
|
138
138
|
|
139
139
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
140
140
|
"""
|
141
|
-
Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
141
|
+
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems.
|
142
142
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
143
143
|
Returns: RequestInformation
|
144
144
|
"""
|
@@ -30,7 +30,7 @@ class RenewRequestBuilder(BaseRequestBuilder):
|
|
30
30
|
|
31
31
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
32
32
|
"""
|
33
|
-
|
33
|
+
Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
|
34
34
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
35
35
|
Returns: None
|
36
36
|
Find more info here: https://learn.microsoft.com/graph/api/group-renew?view=graph-rest-1.0
|
@@ -49,7 +49,7 @@ class RenewRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
51
51
|
"""
|
52
|
-
|
52
|
+
Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: RequestInformation
|
55
55
|
"""
|