Skip to content

Commit 87d558f

Browse files
Microsoft Graph DevX Toolingbaywet
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 172840
1 parent 2657b8b commit 87d558f

File tree

56 files changed

+216
-197
lines changed

Some content is hidden

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

56 files changed

+216
-197
lines changed

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

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

7171
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7272
"""
73-
Send a new chatMessage in the specified channel or a chat.
73+
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.
7474
param body: The request body
7575
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7676
Returns: Optional[ChatMessage]
77-
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
77+
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
7878
"""
7979
if body is None:
8080
raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
105105

106106
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Send a new chatMessage in the specified channel or a chat.
108+
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.
109109
param body: The request body
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation

msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D
3232

3333
async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]:
3434
"""
35-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
35+
Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: Optional[InviteParticipantsOperation]
39-
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0
4040
"""
4141
if body is None:
4242
raise TypeError("body cannot be null.")
@@ -56,7 +56,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional
5656

5757
def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5858
"""
59-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
59+
Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
6060
param body: The request body
6161
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6262
Returns: RequestInformation

msgraph/generated/device_app_management/device_app_management_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp
4949
Read properties and relationships of the deviceAppManagement object.
5050
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5151
Returns: Optional[DeviceAppManagement]
52-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0
52+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0
5353
"""
5454
request_info = self.to_get_request_information(
5555
request_configuration
@@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[
7171
param body: The request body
7272
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7373
Returns: Optional[DeviceAppManagement]
74-
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0
74+
Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0
7575
"""
7676
if body is None:
7777
raise TypeError("body cannot be null.")

msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]:
5252
"""
53-
Read properties and relationships of the windowsInformationProtection object.
53+
Read properties and relationships of the managedAppProtection object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ManagedAppPolicy]
56-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Read properties and relationships of the windowsInformationProtection object.
108+
Read properties and relationships of the managedAppProtection object.
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
111111
"""
@@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig
158158
@dataclass
159159
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
160160
"""
161-
Read properties and relationships of the windowsInformationProtection object.
161+
Read properties and relationships of the managedAppProtection object.
162162
"""
163163
def get_query_parameter(self,original_name: str) -> str:
164164
"""

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
@@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]:
5050
"""
51-
List properties and relationships of the windowsInformationProtection objects.
51+
List properties and relationships of the managedAppPolicy objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedAppPolicyCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List properties and relationships of the windowsInformationProtection objects.
95+
List properties and relationships of the managedAppPolicy objects.
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
138138
@dataclass
139139
class ManagedAppPoliciesRequestBuilderGetQueryParameters():
140140
"""
141-
List properties and relationships of the windowsInformationProtection objects.
141+
List properties and relationships of the managedAppPolicy objects.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

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
@@ -49,10 +49,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man
4949

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

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

msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]:
5050
"""
51-
List properties and relationships of the managedEBookAssignment objects.
51+
List properties and relationships of the iosVppEBookAssignment objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedEBookAssignmentCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the managedEBookAssignment objects.
96+
List properties and relationships of the iosVppEBookAssignment 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 AssignmentsRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the managedEBookAssignment objects.
142+
List properties and relationships of the iosVppEBookAssignment objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_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[ManagedE
7171

7272
async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
7373
"""
74-
Update the properties of a managedEBookAssignment object.
74+
Update the properties of a iosVppEBookAssignment object.
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[ManagedEBookAssignment]
78-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0
78+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0
7979
"""
8080
if body is None:
8181
raise TypeError("body cannot be null.")
@@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
117117

118118
def to_patch_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
119119
"""
120-
Update the properties of a managedEBookAssignment object.
120+
Update the properties of a iosVppEBookAssignment object.
121121
param body: The request body
122122
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
123123
Returns: RequestInformation

msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]:
5050
"""
51-
List properties and relationships of the managedEBook objects.
51+
List properties and relationships of the iosVppEBook objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedEBookCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -93,7 +93,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the managedEBook objects.
96+
List properties and relationships of the iosVppEBook 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 ManagedEBooksRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the managedEBook objects.
142+
List properties and relationships of the iosVppEBook objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

0 commit comments

Comments
 (0)