Skip to content

Commit a0bed70

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 196524
1 parent 16c1e50 commit a0bed70

File tree

51 files changed

+249
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+249
-211
lines changed

msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]:
5353
"""
54-
Retrieve a conversationMember from a chat.
54+
Retrieve a conversationMember from a chat or channel.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ConversationMember]
57-
Find more info here: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0
57+
Find more info here: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0
5858
"""
5959
request_info = self.to_get_request_information(
6060
request_configuration
@@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
106106

107107
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Retrieve a conversationMember from a chat.
109+
Retrieve a conversationMember from a chat or channel.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -150,7 +150,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(RequestConf
150150
@dataclass
151151
class ConversationMemberItemRequestBuilderGetQueryParameters():
152152
"""
153-
Retrieve a conversationMember from a chat.
153+
Retrieve a conversationMember from a chat or channel.
154154
"""
155155
def get_query_parameter(self,original_name: str) -> str:
156156
"""

msgraph/generated/chats/item/messages/messages_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages
7171

7272
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7373
"""
74-
Send a new chatMessage in the specified channel or a chat.
74+
Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
7575
param body: The request body
7676
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7777
Returns: Optional[ChatMessage]
78-
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
78+
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
7979
"""
8080
if body is None:
8181
raise TypeError("body cannot be null.")
@@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
106106

107107
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Send a new chatMessage in the specified channel or a chat.
109+
Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
110110
param body: The request body
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
Returns: RequestInformation

msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0
4040
"""
4141
if body is None:
4242
raise TypeError("body cannot be null.")

msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]:
5151
"""
52-
List properties and relationships of the managedAppProtection objects.
52+
List properties and relationships of the targetedManagedAppProtection objects.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[ManagedAppPolicyCollectionResponse]
55-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0
5656
"""
5757
request_info = self.to_get_request_information(
5858
request_configuration
@@ -93,7 +93,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the managedAppProtection objects.
96+
List properties and relationships of the targetedManagedAppProtection objects.
9797
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9898
Returns: RequestInformation
9999
"""
@@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
139139
@dataclass
140140
class ManagedAppPoliciesRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the managedAppProtection objects.
142+
List properties and relationships of the targetedManagedAppProtection objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0
4040
"""
4141
if body is None:
4242
raise TypeError("body cannot be null.")

msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0
4040
"""
4141
if body is None:
4242
raise TypeError("body cannot be null.")

msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5353

5454
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]:
5555
"""
56-
Read properties and relationships of the managedAppRegistration object.
56+
Read properties and relationships of the androidManagedAppRegistration object.
5757
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5858
Returns: Optional[ManagedAppRegistration]
59-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0
59+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0
6060
"""
6161
request_info = self.to_get_request_information(
6262
request_configuration
@@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
108108

109109
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
110110
"""
111-
Read properties and relationships of the managedAppRegistration object.
111+
Read properties and relationships of the androidManagedAppRegistration object.
112112
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
113113
Returns: RequestInformation
114114
"""
@@ -179,7 +179,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request
179179
@dataclass
180180
class ManagedAppRegistrationItemRequestBuilderGetQueryParameters():
181181
"""
182-
Read properties and relationships of the managedAppRegistration object.
182+
Read properties and relationships of the androidManagedAppRegistration object.
183183
"""
184184
def get_query_parameter(self,original_name: str) -> str:
185185
"""

msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man
5050

5151
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]:
5252
"""
53-
List properties and relationships of the iosManagedAppRegistration objects.
53+
List properties and relationships of the managedAppRegistration objects.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ManagedAppRegistrationCollectionResponse]
56-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0
5757
"""
5858
request_info = self.to_get_request_information(
5959
request_configuration
@@ -95,7 +95,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona
9595

9696
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9797
"""
98-
List properties and relationships of the iosManagedAppRegistration objects.
98+
List properties and relationships of the managedAppRegistration objects.
9999
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
100100
Returns: RequestInformation
101101
"""
@@ -150,7 +150,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp
150150
@dataclass
151151
class ManagedAppRegistrationsRequestBuilderGetQueryParameters():
152152
"""
153-
List properties and relationships of the iosManagedAppRegistration objects.
153+
List properties and relationships of the managedAppRegistration objects.
154154
"""
155155
def get_query_parameter(self,original_name: str) -> str:
156156
"""

msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5050

5151
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]:
5252
"""
53-
Read properties and relationships of the managedAppStatusRaw object.
53+
Read properties and relationships of the managedAppStatus object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ManagedAppStatus]
56-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0
5757
"""
5858
request_info = self.to_get_request_information(
5959
request_configuration
@@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
105105

106106
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Read properties and relationships of the managedAppStatusRaw object.
108+
Read properties and relationships of the managedAppStatus object.
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
111111
"""
@@ -149,7 +149,7 @@ class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration(RequestConfig
149149
@dataclass
150150
class ManagedAppStatusItemRequestBuilderGetQueryParameters():
151151
"""
152-
Read properties and relationships of the managedAppStatusRaw object.
152+
Read properties and relationships of the managedAppStatus object.
153153
"""
154154
def get_query_parameter(self,original_name: str) -> str:
155155
"""

msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]:
5151
"""
52-
List properties and relationships of the managedAppStatusRaw objects.
52+
List properties and relationships of the managedAppStatus objects.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[ManagedAppStatusCollectionResponse]
55-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0
5656
"""
5757
request_info = self.to_get_request_information(
5858
request_configuration
@@ -93,7 +93,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the managedAppStatusRaw objects.
96+
List properties and relationships of the managedAppStatus objects.
9797
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9898
Returns: RequestInformation
9999
"""
@@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
139139
@dataclass
140140
class ManagedAppStatusesRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the managedAppStatusRaw objects.
142+
List properties and relationships of the managedAppStatus objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

0 commit comments

Comments
 (0)