msgraph-sdk 1.13.0__py3-none-any.whl → 1.14.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 (91) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
  3. msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
  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/target_apps/target_apps_request_builder.py +1 -1
  7. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  8. msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
  9. msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
  10. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  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/managed_app_statuses_request_builder.py +4 -4
  13. msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +3 -3
  14. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +3 -3
  15. msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +4 -4
  16. msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
  17. msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +4 -4
  18. msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +4 -4
  19. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  20. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  21. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  22. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
  23. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
  24. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  25. msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
  26. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +6 -6
  27. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  28. msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +7 -7
  29. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
  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/groups/groups_request_builder.py +3 -3
  33. msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
  34. msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +5 -5
  35. msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +1 -1
  36. msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
  37. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +6 -6
  38. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  39. msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
  40. msgraph/generated/kiota-dom-export.txt +270 -0
  41. msgraph/generated/kiota-lock.json +1 -1
  42. msgraph/generated/models/app_management_restriction_state.py +7 -0
  43. msgraph/generated/models/conditional_access_authentication_flows.py +62 -0
  44. msgraph/generated/models/conditional_access_condition_set.py +8 -0
  45. msgraph/generated/models/conditional_access_transfer_methods.py +8 -0
  46. msgraph/generated/models/entity.py +16 -0
  47. msgraph/generated/models/key_credential_configuration.py +8 -0
  48. msgraph/generated/models/password_credential_configuration.py +8 -0
  49. msgraph/generated/models/security/deployment_access_key_type.py +53 -0
  50. msgraph/generated/models/security/deployment_status.py +14 -0
  51. msgraph/generated/models/security/evidence_remediation_status.py +6 -0
  52. msgraph/generated/models/security/identity_container.py +8 -0
  53. msgraph/generated/models/security/network_adapter.py +62 -0
  54. msgraph/generated/models/security/sensor.py +115 -0
  55. msgraph/generated/models/security/sensor_collection_response.py +60 -0
  56. msgraph/generated/models/security/sensor_deployment_package.py +57 -0
  57. msgraph/generated/models/security/sensor_health_status.py +9 -0
  58. msgraph/generated/models/security/sensor_settings.py +74 -0
  59. msgraph/generated/models/security/sensor_type.py +10 -0
  60. msgraph/generated/organization/item/organization_item_request_builder.py +4 -4
  61. msgraph/generated/organization/organization_request_builder.py +4 -4
  62. msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
  63. msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +2 -2
  64. msgraph/generated/security/identities/identities_request_builder.py +10 -0
  65. msgraph/generated/security/identities/sensors/count/count_request_builder.py +103 -0
  66. msgraph/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py +103 -0
  67. msgraph/generated/security/identities/sensors/item/health_issues/health_issues_request_builder.py +161 -0
  68. msgraph/generated/security/identities/sensors/item/health_issues/item/health_issue_item_request_builder.py +106 -0
  69. msgraph/generated/security/identities/sensors/item/sensor_item_request_builder.py +200 -0
  70. msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_access_key/microsoft_graph_security_get_deployment_access_key_request_builder.py +80 -0
  71. msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_package_uri/microsoft_graph_security_get_deployment_package_uri_request_builder.py +80 -0
  72. msgraph/generated/security/identities/sensors/microsoft_graph_security_regenerate_deployment_access_key/microsoft_graph_security_regenerate_deployment_access_key_request_builder.py +80 -0
  73. msgraph/generated/security/identities/sensors/sensors_request_builder.py +238 -0
  74. msgraph/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py +5 -5
  75. msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +3 -3
  76. msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +5 -5
  77. msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
  78. msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
  79. msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
  80. msgraph/generated/users/item/authentication/email_methods/email_methods_request_builder.py +2 -2
  81. msgraph/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py +2 -2
  82. msgraph/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py +2 -2
  83. msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py +2 -2
  84. msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
  85. msgraph/generated/users/item/user_item_request_builder.py +8 -8
  86. msgraph/generated/users/users_request_builder.py +5 -5
  87. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +8 -8
  88. {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.14.0.dist-info}/METADATA +1 -1
  89. {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.14.0.dist-info}/RECORD +91 -70
  90. {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.14.0.dist-info}/LICENSE +0 -0
  91. {msgraph_sdk-1.13.0.dist-info → msgraph_sdk-1.14.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,238 @@
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.security.sensor import Sensor
18
+ from ....models.security.sensor_collection_response import SensorCollectionResponse
19
+ from .count.count_request_builder import CountRequestBuilder
20
+ from .item.sensor_item_request_builder import SensorItemRequestBuilder
21
+ from .microsoft_graph_security_get_deployment_access_key.microsoft_graph_security_get_deployment_access_key_request_builder import MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder
22
+ from .microsoft_graph_security_get_deployment_package_uri.microsoft_graph_security_get_deployment_package_uri_request_builder import MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder
23
+ from .microsoft_graph_security_regenerate_deployment_access_key.microsoft_graph_security_regenerate_deployment_access_key_request_builder import MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder
24
+
25
+ class SensorsRequestBuilder(BaseRequestBuilder):
26
+ """
27
+ Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity.
28
+ """
29
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None:
30
+ """
31
+ Instantiates a new SensorsRequestBuilder and sets the default values.
32
+ param path_parameters: The raw url or the url-template parameters for the request.
33
+ param request_adapter: The request adapter to use to execute the requests.
34
+ Returns: None
35
+ """
36
+ super().__init__(request_adapter, "{+baseurl}/security/identities/sensors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
37
+
38
+ def by_sensor_id(self,sensor_id: str) -> SensorItemRequestBuilder:
39
+ """
40
+ Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity.
41
+ param sensor_id: The unique identifier of sensor
42
+ Returns: SensorItemRequestBuilder
43
+ """
44
+ if sensor_id is None:
45
+ raise TypeError("sensor_id cannot be null.")
46
+ from .item.sensor_item_request_builder import SensorItemRequestBuilder
47
+
48
+ url_tpl_params = get_path_parameters(self.path_parameters)
49
+ url_tpl_params["sensor%2Did"] = sensor_id
50
+ return SensorItemRequestBuilder(self.request_adapter, url_tpl_params)
51
+
52
+ async def get(self,request_configuration: Optional[RequestConfiguration[SensorsRequestBuilderGetQueryParameters]] = None) -> Optional[SensorCollectionResponse]:
53
+ """
54
+ Get a list of sensor objects and their properties.
55
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
+ Returns: Optional[SensorCollectionResponse]
57
+ Find more info here: https://learn.microsoft.com/graph/api/security-identitycontainer-list-sensors?view=graph-rest-1.0
58
+ """
59
+ request_info = self.to_get_request_information(
60
+ request_configuration
61
+ )
62
+ from ....models.o_data_errors.o_data_error import ODataError
63
+
64
+ error_mapping: Dict[str, type[ParsableFactory]] = {
65
+ "XXX": ODataError,
66
+ }
67
+ if not self.request_adapter:
68
+ raise Exception("Http core is null")
69
+ from ....models.security.sensor_collection_response import SensorCollectionResponse
70
+
71
+ return await self.request_adapter.send_async(request_info, SensorCollectionResponse, error_mapping)
72
+
73
+ async def post(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Sensor]:
74
+ """
75
+ Create new navigation property to sensors for security
76
+ param body: The request body
77
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
+ Returns: Optional[Sensor]
79
+ """
80
+ if body is None:
81
+ raise TypeError("body cannot be null.")
82
+ request_info = self.to_post_request_information(
83
+ body, request_configuration
84
+ )
85
+ from ....models.o_data_errors.o_data_error import ODataError
86
+
87
+ error_mapping: Dict[str, type[ParsableFactory]] = {
88
+ "XXX": ODataError,
89
+ }
90
+ if not self.request_adapter:
91
+ raise Exception("Http core is null")
92
+ from ....models.security.sensor import Sensor
93
+
94
+ return await self.request_adapter.send_async(request_info, Sensor, error_mapping)
95
+
96
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SensorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
97
+ """
98
+ Get a list of sensor objects and their properties.
99
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
100
+ Returns: RequestInformation
101
+ """
102
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
103
+ request_info.configure(request_configuration)
104
+ request_info.headers.try_add("Accept", "application/json")
105
+ return request_info
106
+
107
+ def to_post_request_information(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
108
+ """
109
+ Create new navigation property to sensors for security
110
+ param body: The request body
111
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
+ Returns: RequestInformation
113
+ """
114
+ if body is None:
115
+ raise TypeError("body cannot be null.")
116
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
117
+ request_info.configure(request_configuration)
118
+ request_info.headers.try_add("Accept", "application/json")
119
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
120
+ return request_info
121
+
122
+ def with_url(self,raw_url: str) -> SensorsRequestBuilder:
123
+ """
124
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
125
+ param raw_url: The raw URL to use for the request builder.
126
+ Returns: SensorsRequestBuilder
127
+ """
128
+ if raw_url is None:
129
+ raise TypeError("raw_url cannot be null.")
130
+ return SensorsRequestBuilder(self.request_adapter, raw_url)
131
+
132
+ @property
133
+ def count(self) -> CountRequestBuilder:
134
+ """
135
+ Provides operations to count the resources in the collection.
136
+ """
137
+ from .count.count_request_builder import CountRequestBuilder
138
+
139
+ return CountRequestBuilder(self.request_adapter, self.path_parameters)
140
+
141
+ @property
142
+ def microsoft_graph_security_get_deployment_access_key(self) -> MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder:
143
+ """
144
+ Provides operations to call the getDeploymentAccessKey method.
145
+ """
146
+ from .microsoft_graph_security_get_deployment_access_key.microsoft_graph_security_get_deployment_access_key_request_builder import MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder
147
+
148
+ return MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(self.request_adapter, self.path_parameters)
149
+
150
+ @property
151
+ def microsoft_graph_security_get_deployment_package_uri(self) -> MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder:
152
+ """
153
+ Provides operations to call the getDeploymentPackageUri method.
154
+ """
155
+ from .microsoft_graph_security_get_deployment_package_uri.microsoft_graph_security_get_deployment_package_uri_request_builder import MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder
156
+
157
+ return MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(self.request_adapter, self.path_parameters)
158
+
159
+ @property
160
+ def microsoft_graph_security_regenerate_deployment_access_key(self) -> MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder:
161
+ """
162
+ Provides operations to call the regenerateDeploymentAccessKey method.
163
+ """
164
+ from .microsoft_graph_security_regenerate_deployment_access_key.microsoft_graph_security_regenerate_deployment_access_key_request_builder import MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder
165
+
166
+ return MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(self.request_adapter, self.path_parameters)
167
+
168
+ @dataclass
169
+ class SensorsRequestBuilderGetQueryParameters():
170
+ """
171
+ Get a list of sensor objects and their properties.
172
+ """
173
+ def get_query_parameter(self,original_name: str) -> str:
174
+ """
175
+ Maps the query parameters names to their encoded names for the URI template parsing.
176
+ param original_name: The original query parameter name in the class.
177
+ Returns: str
178
+ """
179
+ if original_name is None:
180
+ raise TypeError("original_name cannot be null.")
181
+ if original_name == "count":
182
+ return "%24count"
183
+ if original_name == "expand":
184
+ return "%24expand"
185
+ if original_name == "filter":
186
+ return "%24filter"
187
+ if original_name == "orderby":
188
+ return "%24orderby"
189
+ if original_name == "search":
190
+ return "%24search"
191
+ if original_name == "select":
192
+ return "%24select"
193
+ if original_name == "skip":
194
+ return "%24skip"
195
+ if original_name == "top":
196
+ return "%24top"
197
+ return original_name
198
+
199
+ # Include count of items
200
+ count: Optional[bool] = None
201
+
202
+ # Expand related entities
203
+ expand: Optional[List[str]] = None
204
+
205
+ # Filter items by property values
206
+ filter: Optional[str] = None
207
+
208
+ # Order items by property values
209
+ orderby: Optional[List[str]] = None
210
+
211
+ # Search items by search phrases
212
+ search: Optional[str] = None
213
+
214
+ # Select properties to be returned
215
+ select: Optional[List[str]] = None
216
+
217
+ # Skip the first n items
218
+ skip: Optional[int] = None
219
+
220
+ # Show only the first n items
221
+ top: Optional[int] = None
222
+
223
+
224
+ @dataclass
225
+ class SensorsRequestBuilderGetRequestConfiguration(RequestConfiguration[SensorsRequestBuilderGetQueryParameters]):
226
+ """
227
+ Configuration for the request such as headers, query parameters, and middleware options.
228
+ """
229
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
230
+
231
+ @dataclass
232
+ class SensorsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
233
+ """
234
+ Configuration for the request such as headers, query parameters, and middleware options.
235
+ """
236
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
237
+
238
+
@@ -51,7 +51,7 @@ class VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder):
51
51
 
52
52
  async def get(self,request_configuration: Optional[RequestConfiguration[VirtualEventTownhallItemRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventTownhall]:
53
53
  """
54
- Read the properties and relationships of a virtualEventTownhall object.
54
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
55
55
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
56
  Returns: Optional[VirtualEventTownhall]
57
57
  Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-get?view=graph-rest-1.0
@@ -72,7 +72,7 @@ class VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def patch(self,body: VirtualEventTownhall, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[VirtualEventTownhall]:
74
74
  """
75
- Update the properties of a virtualEventTownhall object.
75
+ Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event.
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[VirtualEventTownhall]
@@ -107,7 +107,7 @@ class VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VirtualEventTownhallItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109
109
  """
110
- Read the properties and relationships of a virtualEventTownhall object.
110
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
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 VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder):
118
118
 
119
119
  def to_patch_request_information(self,body: VirtualEventTownhall, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120
120
  """
121
- Update the properties of a virtualEventTownhall object.
121
+ Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event.
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
@@ -169,7 +169,7 @@ class VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder):
169
169
  @dataclass
170
170
  class VirtualEventTownhallItemRequestBuilderGetQueryParameters():
171
171
  """
172
- Read the properties and relationships of a virtualEventTownhall object.
172
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
173
173
  """
174
174
  def get_query_parameter(self,original_name: str) -> str:
175
175
  """
@@ -48,7 +48,7 @@ class TownhallsRequestBuilder(BaseRequestBuilder):
48
48
 
49
49
  async def get(self,request_configuration: Optional[RequestConfiguration[TownhallsRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventTownhallCollectionResponse]:
50
50
  """
51
- Read the properties and relationships of a virtualEventTownhall object.
51
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
52
52
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
53
53
  Returns: Optional[VirtualEventTownhallCollectionResponse]
54
54
  """
@@ -92,7 +92,7 @@ class TownhallsRequestBuilder(BaseRequestBuilder):
92
92
 
93
93
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TownhallsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
94
94
  """
95
- Read the properties and relationships of a virtualEventTownhall object.
95
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: RequestInformation
98
98
  """
@@ -138,7 +138,7 @@ class TownhallsRequestBuilder(BaseRequestBuilder):
138
138
  @dataclass
139
139
  class TownhallsRequestBuilderGetQueryParameters():
140
140
  """
141
- Read the properties and relationships of a virtualEventTownhall object.
141
+ Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
142
142
  """
143
143
  def get_query_parameter(self,original_name: str) -> str:
144
144
  """
@@ -55,7 +55,7 @@ class VirtualEventWebinarItemRequestBuilder(BaseRequestBuilder):
55
55
 
56
56
  async def get(self,request_configuration: Optional[RequestConfiguration[VirtualEventWebinarItemRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventWebinar]:
57
57
  """
58
- Read the properties and relationships of a virtualEventWebinar object.
58
+ Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
59
59
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
60
60
  Returns: Optional[VirtualEventWebinar]
61
61
  Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-get?view=graph-rest-1.0
@@ -76,7 +76,7 @@ class VirtualEventWebinarItemRequestBuilder(BaseRequestBuilder):
76
76
 
77
77
  async def patch(self,body: VirtualEventWebinar, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[VirtualEventWebinar]:
78
78
  """
79
- Update the properties of a virtualEventWebinar object.
79
+ Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event.
80
80
  param body: The request body
81
81
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
82
82
  Returns: Optional[VirtualEventWebinar]
@@ -135,7 +135,7 @@ class VirtualEventWebinarItemRequestBuilder(BaseRequestBuilder):
135
135
 
136
136
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VirtualEventWebinarItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
137
137
  """
138
- Read the properties and relationships of a virtualEventWebinar object.
138
+ Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
139
139
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
140
140
  Returns: RequestInformation
141
141
  """
@@ -146,7 +146,7 @@ class VirtualEventWebinarItemRequestBuilder(BaseRequestBuilder):
146
146
 
147
147
  def to_patch_request_information(self,body: VirtualEventWebinar, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
148
148
  """
149
- Update the properties of a virtualEventWebinar object.
149
+ Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event.
150
150
  param body: The request body
151
151
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
152
152
  Returns: RequestInformation
@@ -215,7 +215,7 @@ class VirtualEventWebinarItemRequestBuilder(BaseRequestBuilder):
215
215
  @dataclass
216
216
  class VirtualEventWebinarItemRequestBuilderGetQueryParameters():
217
217
  """
218
- Read the properties and relationships of a virtualEventWebinar object.
218
+ Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
219
219
  """
220
220
  def get_query_parameter(self,original_name: str) -> str:
221
221
  """
@@ -70,11 +70,11 @@ class MembersRequestBuilder(BaseRequestBuilder):
70
70
 
71
71
  async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
72
72
  """
73
- Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
73
+ Add a conversationMember to a channel.
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[ConversationMember]
77
- Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0
77
+ Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0
78
78
  """
79
79
  if body is None:
80
80
  raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
105
105
 
106
106
  def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107
107
  """
108
- Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
108
+ Add a conversationMember to a channel.
109
109
  param body: The request body
110
110
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111
111
  Returns: RequestInformation
@@ -70,11 +70,11 @@ class RepliesRequestBuilder(BaseRequestBuilder):
70
70
 
71
71
  async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
72
72
  """
73
- Create a new reply to a chatMessage in a specified channel.
73
+ Send a new reply to a chatMessage in a specified channel.
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[ChatMessage]
77
- Find more info here: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0
77
+ Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0
78
78
  """
79
79
  if body is None:
80
80
  raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ class RepliesRequestBuilder(BaseRequestBuilder):
105
105
 
106
106
  def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107
107
  """
108
- Create a new reply to a chatMessage in a specified channel.
108
+ Send a new reply to a chatMessage in a specified channel.
109
109
  param body: The request body
110
110
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111
111
  Returns: RequestInformation
@@ -70,11 +70,11 @@ class MessagesRequestBuilder(BaseRequestBuilder):
70
70
 
71
71
  async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
72
72
  """
73
- Send a new chatMessage in the specified channel.
73
+ Send a new chatMessage in the specified channel or a chat.
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[ChatMessage]
77
- Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0
77
+ Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
78
78
  """
79
79
  if body is None:
80
80
  raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ class MessagesRequestBuilder(BaseRequestBuilder):
105
105
 
106
106
  def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107
107
  """
108
- Send a new chatMessage in the specified channel.
108
+ Send a new chatMessage in the specified channel or a chat.
109
109
  param body: The request body
110
110
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111
111
  Returns: RequestInformation
@@ -68,7 +68,7 @@ class EmailMethodsRequestBuilder(BaseRequestBuilder):
68
68
 
69
69
  async def post(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EmailAuthenticationMethod]:
70
70
  """
71
- Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method.
71
+ Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported.
72
72
  param body: The request body
73
73
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
74
74
  Returns: Optional[EmailAuthenticationMethod]
@@ -103,7 +103,7 @@ class EmailMethodsRequestBuilder(BaseRequestBuilder):
103
103
 
104
104
  def to_post_request_information(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
105
105
  """
106
- Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method.
106
+ Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported.
107
107
  param body: The request body
108
108
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109
109
  Returns: RequestInformation
@@ -70,7 +70,7 @@ class EmailAuthenticationMethodItemRequestBuilder(BaseRequestBuilder):
70
70
 
71
71
  async def patch(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EmailAuthenticationMethod]:
72
72
  """
73
- Update a user's email address represented by an emailAuthenticationMethod object.
73
+ Update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported.
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[EmailAuthenticationMethod]
@@ -116,7 +116,7 @@ class EmailAuthenticationMethodItemRequestBuilder(BaseRequestBuilder):
116
116
 
117
117
  def to_patch_request_information(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
118
118
  """
119
- Update a user's email address represented by an emailAuthenticationMethod object.
119
+ Update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported.
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,7 +32,7 @@ class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(BaseRequestBu
32
32
 
33
33
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
34
  """
35
- Deletes a microsoftAuthenticatorAuthenticationMethod object.
35
+ Delete a microsoftAuthenticatorAuthenticationMethod object.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: None
38
38
  Find more info here: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0
@@ -72,7 +72,7 @@ class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(BaseRequestBu
72
72
 
73
73
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
74
74
  """
75
- Deletes a microsoftAuthenticatorAuthenticationMethod object.
75
+ Delete a microsoftAuthenticatorAuthenticationMethod object.
76
76
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
77
77
  Returns: RequestInformation
78
78
  """
@@ -71,7 +71,7 @@ class PhoneAuthenticationMethodItemRequestBuilder(BaseRequestBuilder):
71
71
 
72
72
  async def patch(self,body: PhoneAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[PhoneAuthenticationMethod]:
73
73
  """
74
- Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system.
74
+ Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported.
75
75
  param body: The request body
76
76
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
77
77
  Returns: Optional[PhoneAuthenticationMethod]
@@ -117,7 +117,7 @@ class PhoneAuthenticationMethodItemRequestBuilder(BaseRequestBuilder):
117
117
 
118
118
  def to_patch_request_information(self,body: PhoneAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
119
119
  """
120
- Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system.
120
+ Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported.
121
121
  param body: The request body
122
122
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
123
123
  Returns: RequestInformation
@@ -54,10 +54,10 @@ class PresenceRequestBuilder(BaseRequestBuilder):
54
54
 
55
55
  async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]:
56
56
  """
57
- Set a presence status message for a user. An optional expiration date and time can be supplied.
57
+ Get a user's presence information.
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: Optional[Presence]
60
- Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0
60
+ Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0
61
61
  """
62
62
  request_info = self.to_get_request_information(
63
63
  request_configuration
@@ -109,7 +109,7 @@ class PresenceRequestBuilder(BaseRequestBuilder):
109
109
 
110
110
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
111
111
  """
112
- Set a presence status message for a user. An optional expiration date and time can be supplied.
112
+ Get a user's presence information.
113
113
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114
114
  Returns: RequestInformation
115
115
  """
@@ -198,7 +198,7 @@ class PresenceRequestBuilder(BaseRequestBuilder):
198
198
  @dataclass
199
199
  class PresenceRequestBuilderGetQueryParameters():
200
200
  """
201
- Set a presence status message for a user. An optional expiration date and time can be supplied.
201
+ Get a user's presence information.
202
202
  """
203
203
  def get_query_parameter(self,original_name: str) -> str:
204
204
  """
@@ -107,10 +107,10 @@ class UserItemRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
109
109
  """
110
- Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
110
+ Deletes a user.
111
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
112
  Returns: None
113
- Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0
113
+ Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0
114
114
  """
115
115
  request_info = self.to_delete_request_information(
116
116
  request_configuration
@@ -141,10 +141,10 @@ class UserItemRequestBuilder(BaseRequestBuilder):
141
141
 
142
142
  async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]:
143
143
  """
144
- Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
144
+ Read properties and relationships of the user object.
145
145
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
146
146
  Returns: Optional[User]
147
- Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0
147
+ Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0
148
148
  """
149
149
  request_info = self.to_get_request_information(
150
150
  request_configuration
@@ -166,7 +166,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
166
166
  param body: The request body
167
167
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
168
168
  Returns: Optional[User]
169
- Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0
169
+ Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0
170
170
  """
171
171
  if body is None:
172
172
  raise TypeError("body cannot be null.")
@@ -201,7 +201,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
201
201
 
202
202
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
203
203
  """
204
- Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
204
+ Deletes a user.
205
205
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
206
206
  Returns: RequestInformation
207
207
  """
@@ -212,7 +212,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
212
212
 
213
213
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
214
214
  """
215
- Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
215
+ Read properties and relationships of the user object.
216
216
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
217
217
  Returns: RequestInformation
218
218
  """
@@ -922,7 +922,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
922
922
  @dataclass
923
923
  class UserItemRequestBuilderGetQueryParameters():
924
924
  """
925
- Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
925
+ Read properties and relationships of the user object.
926
926
  """
927
927
  def get_query_parameter(self,original_name: str) -> str:
928
928
  """