msgraph-sdk 1.9.0__py3-none-any.whl → 1.10.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 (74) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/chats/item/messages/delta/delta_request_builder.py +3 -3
  3. msgraph/generated/chats/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  4. msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
  5. msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
  6. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  7. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  8. msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
  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/managed_app_registrations_request_builder.py +4 -4
  12. msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
  13. msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
  14. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
  15. msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
  16. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +6 -6
  17. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  18. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  19. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  20. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
  21. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  22. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +4 -4
  23. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  24. msgraph/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py +10 -0
  25. msgraph/generated/device_management/managed_devices/item/device_category/ref/ref_request_builder.py +157 -0
  26. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +7 -7
  27. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
  28. msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +3 -3
  29. msgraph/generated/groups/groups_request_builder.py +3 -3
  30. msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
  31. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +1 -1
  32. msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
  33. msgraph/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py +3 -3
  34. msgraph/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  35. msgraph/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py +3 -3
  36. msgraph/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
  37. msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +4 -4
  38. msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
  39. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +7 -7
  40. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  41. msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +7 -7
  42. msgraph/generated/kiota-dom-export.txt +32 -0
  43. msgraph/generated/kiota-lock.json +2 -2
  44. msgraph/generated/models/entitlement_management_schedule.py +1 -1
  45. msgraph/generated/models/on_premises_directory_synchronization_feature.py +1 -1
  46. msgraph/generated/models/service_principal.py +1 -1
  47. msgraph/generated/models/user.py +3 -3
  48. msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
  49. msgraph/generated/organization/organization_request_builder.py +4 -4
  50. msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
  51. msgraph/generated/sites/sites_request_builder.py +4 -4
  52. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
  53. msgraph/generated/teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
  54. msgraph/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  55. msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
  56. msgraph/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py +3 -3
  57. msgraph/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
  58. msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
  59. msgraph/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  60. msgraph/generated/users/item/chats/item/messages/delta/delta_request_builder.py +3 -3
  61. msgraph/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  62. msgraph/generated/users/item/joined_teams/item/channels/item/messages/delta/delta_request_builder.py +3 -3
  63. msgraph/generated/users/item/joined_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +3 -3
  64. msgraph/generated/users/item/joined_teams/item/primary_channel/messages/delta/delta_request_builder.py +3 -3
  65. msgraph/generated/users/item/joined_teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +3 -3
  66. msgraph/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py +10 -0
  67. msgraph/generated/users/item/managed_devices/item/device_category/ref/ref_request_builder.py +157 -0
  68. msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
  69. msgraph/generated/users/item/user_item_request_builder.py +8 -8
  70. msgraph/generated/users/users_request_builder.py +7 -7
  71. {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.10.0.dist-info}/METADATA +1 -1
  72. {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.10.0.dist-info}/RECORD +74 -72
  73. {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.10.0.dist-info}/LICENSE +0 -0
  74. {msgraph_sdk-1.9.0.dist-info → msgraph_sdk-1.10.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 androidWorkProfileCompliancePolicy.
43
+ Deletes a macOSCompliancePolicy.
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-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0
46
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-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 deviceCompliancePolicy object.
62
+ Read properties and relationships of the windows10MobileCompliancePolicy 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-devicecompliancepolicy-get?view=graph-rest-1.0
65
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-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 androidCompliancePolicy object.
83
+ Update the properties of a androidWorkProfileCompliancePolicy 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-androidcompliancepolicy-update?view=graph-rest-1.0
87
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-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 androidWorkProfileCompliancePolicy.
107
+ Deletes a macOSCompliancePolicy.
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 deviceCompliancePolicy object.
118
+ Read properties and relationships of the windows10MobileCompliancePolicy 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 androidCompliancePolicy object.
129
+ Update the properties of a androidWorkProfileCompliancePolicy 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 deviceCompliancePolicy object.
243
+ Read properties and relationships of the windows10MobileCompliancePolicy object.
244
244
  """
245
245
  def get_query_parameter(self,original_name: str) -> str:
246
246
  """
@@ -48,10 +48,10 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
48
48
 
49
49
  async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]:
50
50
  """
51
- List properties and relationships of the editionUpgradeConfiguration objects.
51
+ List properties and relationships of the windows10EndpointProtectionConfiguration objects.
52
52
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
53
53
  Returns: Optional[DeviceConfigurationCollectionResponse]
54
- Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-list?view=graph-rest-1.0
54
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-list?view=graph-rest-1.0
55
55
  """
56
56
  request_info = self.to_get_request_information(
57
57
  request_configuration
@@ -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 windows10EndpointProtectionConfiguration object.
72
+ Create a new iosCustomConfiguration 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-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0
76
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-create?view=graph-rest-1.0
77
77
  """
78
78
  if body is None:
79
79
  raise TypeError("body cannot be null.")
@@ -93,7 +93,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
93
93
 
94
94
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
95
95
  """
96
- List properties and relationships of the editionUpgradeConfiguration objects.
96
+ List properties and relationships of the windows10EndpointProtectionConfiguration objects.
97
97
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
98
  Returns: RequestInformation
99
99
  """
@@ -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 windows10EndpointProtectionConfiguration object.
107
+ Create a new iosCustomConfiguration 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
@@ -139,7 +139,7 @@ class DeviceConfigurationsRequestBuilder(BaseRequestBuilder):
139
139
  @dataclass
140
140
  class DeviceConfigurationsRequestBuilderGetQueryParameters():
141
141
  """
142
- List properties and relationships of the editionUpgradeConfiguration objects.
142
+ List properties and relationships of the windows10EndpointProtectionConfiguration objects.
143
143
  """
144
144
  def get_query_parameter(self,original_name: str) -> str:
145
145
  """
@@ -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 macOSGeneralDeviceConfiguration.
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-macosgeneraldeviceconfiguration-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 windowsUpdateForBusinessConfiguration object.
61
+ Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration 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-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0
64
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-get?view=graph-rest-1.0
65
65
  """
66
66
  request_info = self.to_get_request_information(
67
67
  request_configuration
@@ -91,11 +91,11 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
91
91
 
92
92
  async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]:
93
93
  """
94
- Update the properties of a windows10GeneralConfiguration object.
94
+ Update the properties of a windows10CustomConfiguration object.
95
95
  param body: The request body
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: Optional[DeviceConfiguration]
98
- Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-update?view=graph-rest-1.0
98
+ Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-update?view=graph-rest-1.0
99
99
  """
100
100
  if body is None:
101
101
  raise TypeError("body cannot be null.")
@@ -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 macOSGeneralDeviceConfiguration.
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 windowsUpdateForBusinessConfiguration object.
129
+ Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object.
130
130
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
131
131
  Returns: RequestInformation
132
132
  """
@@ -137,7 +137,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
137
137
 
138
138
  def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
139
139
  """
140
- Update the properties of a windows10GeneralConfiguration object.
140
+ Update the properties of a windows10CustomConfiguration object.
141
141
  param body: The request body
142
142
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
143
143
  Returns: RequestInformation
@@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilder(BaseRequestBuilder):
233
233
  @dataclass
234
234
  class DeviceConfigurationItemRequestBuilderGetQueryParameters():
235
235
  """
236
- Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
236
+ Read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object.
237
237
  """
238
238
  def get_query_parameter(self,original_name: str) -> str:
239
239
  """
@@ -53,10 +53,10 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]:
55
55
  """
56
- Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
56
+ Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: Optional[DeviceEnrollmentConfiguration]
59
- Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0
59
+ Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0
60
60
  """
61
61
  request_info = self.to_get_request_information(
62
62
  request_configuration
@@ -109,7 +109,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
109
109
 
110
110
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
111
111
  """
112
- Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
112
+ Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
113
113
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114
114
  Returns: RequestInformation
115
115
  """
@@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilder(BaseRequestBuilder):
180
180
  @dataclass
181
181
  class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters():
182
182
  """
183
- Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
183
+ Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
184
184
  """
185
185
  def get_query_parameter(self,original_name: str) -> str:
186
186
  """
@@ -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-enrollment-devicemanagement-get?view=graph-rest-1.0
98
+ Find more info here: https://learn.microsoft.com/graph/api/intune-reporting-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-androidforwork-devicemanagement-update?view=graph-rest-1.0
132
+ Find more info here: https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-update?view=graph-rest-1.0
133
133
  """
134
134
  if body is None:
135
135
  raise TypeError("body cannot be null.")
@@ -15,6 +15,7 @@ from warnings import warn
15
15
  if TYPE_CHECKING:
16
16
  from .....models.device_category import DeviceCategory
17
17
  from .....models.o_data_errors.o_data_error import ODataError
18
+ from .ref.ref_request_builder import RefRequestBuilder
18
19
 
19
20
  class DeviceCategoryRequestBuilder(BaseRequestBuilder):
20
21
  """
@@ -137,6 +138,15 @@ class DeviceCategoryRequestBuilder(BaseRequestBuilder):
137
138
  raise TypeError("raw_url cannot be null.")
138
139
  return DeviceCategoryRequestBuilder(self.request_adapter, raw_url)
139
140
 
141
+ @property
142
+ def ref(self) -> RefRequestBuilder:
143
+ """
144
+ Provides operations to manage the collection of deviceManagement entities.
145
+ """
146
+ from .ref.ref_request_builder import RefRequestBuilder
147
+
148
+ return RefRequestBuilder(self.request_adapter, self.path_parameters)
149
+
140
150
  @dataclass
141
151
  class DeviceCategoryRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
142
152
  """
@@ -0,0 +1,157 @@
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
+ from ......models.reference_update import ReferenceUpdate
18
+
19
+ class RefRequestBuilder(BaseRequestBuilder):
20
+ """
21
+ Provides operations to manage the collection of deviceManagement entities.
22
+ """
23
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None:
24
+ """
25
+ Instantiates a new RefRequestBuilder and sets the default values.
26
+ param path_parameters: The raw url or the url-template parameters for the request.
27
+ param request_adapter: The request adapter to use to execute the requests.
28
+ Returns: None
29
+ """
30
+ super().__init__(request_adapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory/$ref", path_parameters)
31
+
32
+ async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
33
+ """
34
+ Delete ref of navigation property deviceCategory for deviceManagement
35
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
+ Returns: None
37
+ """
38
+ request_info = self.to_delete_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
+ async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[str]:
51
+ """
52
+ Device category
53
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
+ Returns: Optional[str]
55
+ """
56
+ request_info = self.to_get_request_information(
57
+ request_configuration
58
+ )
59
+ from ......models.o_data_errors.o_data_error import ODataError
60
+
61
+ error_mapping: Dict[str, type[ParsableFactory]] = {
62
+ "XXX": ODataError,
63
+ }
64
+ if not self.request_adapter:
65
+ raise Exception("Http core is null")
66
+ return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping)
67
+
68
+ async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
69
+ """
70
+ Update the ref of navigation property deviceCategory in deviceManagement
71
+ param body: The request body
72
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
73
+ Returns: None
74
+ """
75
+ if body is None:
76
+ raise TypeError("body cannot be null.")
77
+ request_info = self.to_put_request_information(
78
+ body, request_configuration
79
+ )
80
+ from ......models.o_data_errors.o_data_error import ODataError
81
+
82
+ error_mapping: Dict[str, type[ParsableFactory]] = {
83
+ "XXX": ODataError,
84
+ }
85
+ if not self.request_adapter:
86
+ raise Exception("Http core is null")
87
+ return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
88
+
89
+ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
90
+ """
91
+ Delete ref of navigation property deviceCategory for deviceManagement
92
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
93
+ Returns: RequestInformation
94
+ """
95
+ request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
96
+ request_info.configure(request_configuration)
97
+ request_info.headers.try_add("Accept", "application/json")
98
+ return request_info
99
+
100
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
101
+ """
102
+ Device category
103
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
104
+ Returns: RequestInformation
105
+ """
106
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
107
+ request_info.configure(request_configuration)
108
+ request_info.headers.try_add("Accept", "application/json")
109
+ return request_info
110
+
111
+ def to_put_request_information(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
112
+ """
113
+ Update the ref of navigation property deviceCategory in deviceManagement
114
+ param body: The request body
115
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
116
+ Returns: RequestInformation
117
+ """
118
+ if body is None:
119
+ raise TypeError("body cannot be null.")
120
+ request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters)
121
+ request_info.configure(request_configuration)
122
+ request_info.headers.try_add("Accept", "application/json")
123
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
124
+ return request_info
125
+
126
+ def with_url(self,raw_url: str) -> RefRequestBuilder:
127
+ """
128
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
129
+ param raw_url: The raw URL to use for the request builder.
130
+ Returns: RefRequestBuilder
131
+ """
132
+ if raw_url is None:
133
+ raise TypeError("raw_url cannot be null.")
134
+ return RefRequestBuilder(self.request_adapter, raw_url)
135
+
136
+ @dataclass
137
+ class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]):
138
+ """
139
+ Configuration for the request such as headers, query parameters, and middleware options.
140
+ """
141
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
142
+
143
+ @dataclass
144
+ class RefRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]):
145
+ """
146
+ Configuration for the request such as headers, query parameters, and middleware options.
147
+ """
148
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
149
+
150
+ @dataclass
151
+ class RefRequestBuilderPutRequestConfiguration(RequestConfiguration[QueryParameters]):
152
+ """
153
+ Configuration for the request such as headers, query parameters, and middleware options.
154
+ """
155
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
156
+
157
+
@@ -51,10 +51,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
51
51
 
52
52
  async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]:
53
53
  """
54
- Read properties and relationships of the roleDefinition object.
54
+ Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
55
55
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
56
  Returns: Optional[RoleDefinition]
57
- Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0
57
+ Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0
58
58
  """
59
59
  request_info = self.to_get_request_information(
60
60
  request_configuration
@@ -72,11 +72,11 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
74
74
  """
75
- Update the properties of a roleDefinition object.
75
+ Update the properties of a deviceAndAppManagementRoleDefinition object.
76
76
  param body: The request body
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[RoleDefinition]
79
- Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0
79
+ Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0
80
80
  """
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
@@ -107,7 +107,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109
109
  """
110
- Read properties and relationships of the roleDefinition object.
110
+ Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
111
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
112
  Returns: RequestInformation
113
113
  """
@@ -118,7 +118,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
118
118
 
119
119
  def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120
120
  """
121
- Update the properties of a roleDefinition object.
121
+ Update the properties of a deviceAndAppManagementRoleDefinition object.
122
122
  param body: The request body
123
123
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124
124
  Returns: RequestInformation
@@ -160,7 +160,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
160
160
  @dataclass
161
161
  class RoleDefinitionItemRequestBuilderGetQueryParameters():
162
162
  """
163
- Read properties and relationships of the roleDefinition object.
163
+ Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
164
164
  """
165
165
  def get_query_parameter(self,original_name: str) -> str:
166
166
  """
@@ -48,10 +48,10 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
48
48
 
49
49
  async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]:
50
50
  """
51
- List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
51
+ List properties and relationships of the roleDefinition objects.
52
52
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
53
53
  Returns: Optional[RoleDefinitionCollectionResponse]
54
- Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0
54
+ Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0
55
55
  """
56
56
  request_info = self.to_get_request_information(
57
57
  request_configuration
@@ -69,11 +69,11 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
69
69
 
70
70
  async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
71
71
  """
72
- Create a new deviceAndAppManagementRoleDefinition object.
72
+ Create a new roleDefinition 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[RoleDefinition]
76
- Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0
76
+ Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0
77
77
  """
78
78
  if body is None:
79
79
  raise TypeError("body cannot be null.")
@@ -93,7 +93,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
93
93
 
94
94
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
95
95
  """
96
- List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
96
+ List properties and relationships of the roleDefinition objects.
97
97
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
98
  Returns: RequestInformation
99
99
  """
@@ -104,7 +104,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
104
104
 
105
105
  def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
106
106
  """
107
- Create a new deviceAndAppManagementRoleDefinition object.
107
+ Create a new roleDefinition 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
@@ -139,7 +139,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
139
139
  @dataclass
140
140
  class RoleDefinitionsRequestBuilderGetQueryParameters():
141
141
  """
142
- List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
142
+ List properties and relationships of the roleDefinition objects.
143
143
  """
144
144
  def get_query_parameter(self,original_name: str) -> str:
145
145
  """
@@ -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
@@ -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
- 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.
72
+ Use reply thread or reply post to further post to that conversation.
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/opentypeextension-post-opentypeextension?view=graph-rest-1.0
76
+ Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?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
- 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.
107
+ Use reply thread or reply post to further post to that conversation.
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/conversation-delete?view=graph-rest-1.0
38
+ Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0
39
39
  """
40
40
  request_info = self.to_delete_request_information(
41
41
  request_configuration