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.
Files changed (155) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py +3 -3
  3. msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
  4. msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
  5. msgraph/generated/device_app_management/device_app_management_request_builder.py +1 -1
  6. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  7. msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
  8. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  9. msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
  10. msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
  11. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  12. msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +4 -4
  13. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +10 -10
  14. msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
  15. msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +4 -4
  16. msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +4 -4
  17. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  18. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  19. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +3 -3
  20. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  21. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +3 -3
  22. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +7 -7
  23. msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +3 -3
  24. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +6 -6
  25. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  26. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +3 -3
  27. msgraph/generated/drives/item/items/item/discard_checkout/discard_checkout_request_builder.py +78 -0
  28. msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py +10 -0
  29. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
  30. msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
  31. msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
  32. msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
  33. msgraph/generated/groups/groups_request_builder.py +3 -3
  34. msgraph/generated/groups/item/assign_license/assign_license_request_builder.py +2 -2
  35. msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
  36. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +1 -1
  37. msgraph/generated/groups/item/group_item_request_builder.py +2 -2
  38. msgraph/generated/groups/item/renew/renew_request_builder.py +2 -2
  39. msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
  40. msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
  41. msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
  42. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
  43. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  44. msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +6 -6
  45. msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
  46. msgraph/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +3 -3
  47. msgraph/generated/kiota-dom-export.txt +989 -0
  48. msgraph/generated/kiota-lock.json +2 -2
  49. msgraph/generated/models/administrative_unit.py +1 -1
  50. msgraph/generated/models/app_role_assignment.py +2 -2
  51. msgraph/generated/models/application.py +1 -1
  52. msgraph/generated/models/base_item.py +16 -0
  53. msgraph/generated/models/conditional_access_client_applications.py +1 -1
  54. msgraph/generated/models/conditional_access_condition_set.py +2 -2
  55. msgraph/generated/models/device.py +1 -1
  56. msgraph/generated/models/eligibility_filtering_enabled_entities.py +9 -0
  57. msgraph/generated/models/entity.py +16 -0
  58. msgraph/generated/models/file_storage.py +4 -0
  59. msgraph/generated/models/file_storage_container.py +16 -0
  60. msgraph/generated/models/file_storage_container_settings.py +8 -0
  61. msgraph/generated/models/internal_domain_federation.py +4 -0
  62. msgraph/generated/models/open_shift.py +7 -3
  63. msgraph/generated/models/org_contact.py +1 -1
  64. msgraph/generated/models/recycle_bin.py +70 -0
  65. msgraph/generated/models/recycle_bin_item.py +67 -0
  66. msgraph/generated/models/recycle_bin_item_collection_response.py +60 -0
  67. msgraph/generated/models/recycle_bin_settings.py +53 -0
  68. msgraph/generated/models/security/data_set.py +4 -0
  69. msgraph/generated/models/service_principal.py +1 -1
  70. msgraph/generated/models/shift.py +4 -0
  71. msgraph/generated/models/shift_activity.py +2 -2
  72. msgraph/generated/models/site_lock_state.py +9 -0
  73. msgraph/generated/models/time_off.py +5 -1
  74. msgraph/generated/models/user.py +1 -1
  75. msgraph/generated/models/workforce_integration.py +9 -1
  76. msgraph/generated/models/workforce_integration_supported_entities.py +3 -0
  77. msgraph/generated/models/x509_certificate_authentication_method_configuration.py +8 -0
  78. msgraph/generated/models/x509_certificate_c_r_l_validation_configuration.py +66 -0
  79. msgraph/generated/models/x509_certificate_c_r_l_validation_configuration_state.py +7 -0
  80. msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
  81. msgraph/generated/organization/item/organization_item_request_builder.py +4 -4
  82. msgraph/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py +4 -3
  83. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +40 -0
  84. msgraph/generated/storage/file_storage/containers/item/lock/lock_post_request_body.py +58 -0
  85. msgraph/generated/storage/file_storage/containers/item/lock/lock_request_builder.py +85 -0
  86. msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
  87. msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  88. msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
  89. msgraph/generated/storage/file_storage/containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
  90. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
  91. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
  92. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  93. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
  94. 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
  95. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
  96. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  97. 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
  98. 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
  99. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
  100. msgraph/generated/storage/file_storage/containers/item/recycle_bin/items/items_request_builder.py +207 -0
  101. msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
  102. msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  103. msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
  104. msgraph/generated/storage/file_storage/containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
  105. msgraph/generated/storage/file_storage/containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
  106. msgraph/generated/storage/file_storage/containers/item/restore/restore_request_builder.py +80 -0
  107. msgraph/generated/storage/file_storage/containers/item/unlock/unlock_request_builder.py +77 -0
  108. msgraph/generated/storage/file_storage/deleted_containers/count/count_request_builder.py +103 -0
  109. msgraph/generated/storage/file_storage/deleted_containers/deleted_containers_request_builder.py +207 -0
  110. msgraph/generated/storage/file_storage/deleted_containers/item/activate/activate_request_builder.py +77 -0
  111. msgraph/generated/storage/file_storage/deleted_containers/item/drive/drive_request_builder.py +106 -0
  112. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +267 -0
  113. msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_post_request_body.py +58 -0
  114. msgraph/generated/storage/file_storage/deleted_containers/item/lock/lock_request_builder.py +85 -0
  115. msgraph/generated/storage/file_storage/deleted_containers/item/permanent_delete/permanent_delete_request_builder.py +77 -0
  116. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/count/count_request_builder.py +103 -0
  117. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_request_body.py +62 -0
  118. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_post_response.py +60 -0
  119. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/grant/grant_request_builder.py +89 -0
  120. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/item/permission_item_request_builder.py +197 -0
  121. msgraph/generated/storage/file_storage/deleted_containers/item/permissions/permissions_request_builder.py +207 -0
  122. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/created_by_user_request_builder.py +126 -0
  123. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  124. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
  125. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +146 -0
  126. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/count/count_request_builder.py +103 -0
  127. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +126 -0
  128. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +207 -0
  136. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/items/items_request_builder.py +207 -0
  137. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +126 -0
  138. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +151 -0
  139. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py +103 -0
  140. 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
  141. msgraph/generated/storage/file_storage/deleted_containers/item/recycle_bin/recycle_bin_request_builder.py +217 -0
  142. msgraph/generated/storage/file_storage/deleted_containers/item/restore/restore_request_builder.py +80 -0
  143. msgraph/generated/storage/file_storage/deleted_containers/item/unlock/unlock_request_builder.py +77 -0
  144. msgraph/generated/storage/file_storage/file_storage_request_builder.py +10 -0
  145. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
  146. msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
  147. msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
  148. msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
  149. msgraph/generated/users/item/user_item_request_builder.py +2 -2
  150. msgraph/generated/users/users_request_builder.py +5 -5
  151. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
  152. {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/METADATA +1 -1
  153. {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/RECORD +155 -86
  154. {msgraph_sdk-1.14.0.dist-info → msgraph_sdk-1.15.0.dist-info}/LICENSE +0 -0
  155. {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 androidCompliancePolicy.
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-androidcompliancepolicy-delete?view=graph-rest-1.0
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 windows10CompliancePolicy object.
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-windows10compliancepolicy-get?view=graph-rest-1.0
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 windowsPhone81CompliancePolicy object.
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-windowsphone81compliancepolicy-update?view=graph-rest-1.0
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 androidCompliancePolicy.
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 windows10CompliancePolicy object.
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 windowsPhone81CompliancePolicy object.
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 windows10CompliancePolicy object.
243
+ Read properties and relationships of the windowsPhone81CompliancePolicy object.
244
244
  """
245
245
  def get_query_parameter(self,original_name: str) -> str:
246
246
  """
@@ -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 windows10EnterpriseModernAppManagementConfiguration object.
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-windows10enterprisemodernappmanagementconfiguration-create?view=graph-rest-1.0
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 windows10EnterpriseModernAppManagementConfiguration object.
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 windows10SecureAssessmentConfiguration.
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-windows10secureassessmentconfiguration-delete?view=graph-rest-1.0
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 iosCertificateProfile object.
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-ioscertificateprofile-get?view=graph-rest-1.0
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 windows10SecureAssessmentConfiguration.
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 iosCertificateProfile object.
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 iosCertificateProfile object.
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 deviceEnrollmentLimitConfiguration object.
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-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0
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 deviceEnrollmentLimitConfiguration object.
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 deviceEnrollmentWindowsHelloForBusinessConfiguration.
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-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0
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 deviceEnrollmentPlatformRestrictionsConfiguration object.
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-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0
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 deviceEnrollmentWindowsHelloForBusinessConfiguration.
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 deviceEnrollmentPlatformRestrictionsConfiguration object.
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-companyterms-devicemanagement-get?view=graph-rest-1.0
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-remoteassistance-devicemanagement-update?view=graph-rest-1.0
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.")
@@ -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 roleDefinition.
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-roledefinition-delete?view=graph-rest-1.0
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 roleDefinition.
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
- Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
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-setretentionlabel?view=graph-rest-1.0
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
- Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
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
- Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
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/tablecollection-add?view=graph-rest-1.0
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
- Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
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
@@ -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
- Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
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/tablecollection-add?view=graph-rest-1.0
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
- Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated.
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
@@ -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
- Update the properties of an externalItem object.
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-externalitem-update?view=graph-rest-1.0
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
- Update the properties of an externalItem object.
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 object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
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-upsert?view=graph-rest-1.0
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 object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
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 the 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.
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 the 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.
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
- Use reply thread or reply post to further post to that conversation.
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/group-post-conversations?view=graph-rest-1.0
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
- Use reply thread or reply post to further post to that conversation.
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/group-delete-conversation?view=graph-rest-1.0
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
- Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
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
- Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy.
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
  """