Skip to content

Commit 61c8bfc

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 181216
1 parent e8a16de commit 61c8bfc

File tree

109 files changed

+531
-442
lines changed

Some content is hidden

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

109 files changed

+531
-442
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
@@ -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 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.
74+
Send a new chatMessage in the specified channel or a chat.
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/chat-post-messages?view=graph-rest-1.0
78+
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?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 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.
109+
Send a new chatMessage in the specified channel or a chat.
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/communications/calls/item/participants/invite/invite_request_builder.py

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

3434
async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]:
3535
"""
36-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
36+
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.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[InviteParticipantsOperation]
40-
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0
4141
"""
4242
if body is None:
4343
raise TypeError("body cannot be null.")
@@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional
5757

5858
def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
60+
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.
6161
param body: The request body
6262
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6363
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
@@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp
5050
Read properties and relationships of the deviceAppManagement object.
5151
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5252
Returns: Optional[DeviceAppManagement]
53-
Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0
53+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0
5454
"""
5555
request_info = self.to_get_request_information(
5656
request_configuration
@@ -72,7 +72,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[
7272
param body: The request body
7373
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7474
Returns: Optional[DeviceAppManagement]
75-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0
75+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0
7676
"""
7777
if body is None:
7878
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
@@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]:
5353
"""
54-
Read properties and relationships of the managedAppPolicy object.
54+
Read properties and relationships of the targetedManagedAppProtection object.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ManagedAppPolicy]
57-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0
57+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Read properties and relationships of the managedAppPolicy object.
109+
Read properties and relationships of the targetedManagedAppProtection object.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig
159159
@dataclass
160160
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
161161
"""
162-
Read properties and relationships of the managedAppPolicy object.
162+
Read properties and relationships of the targetedManagedAppProtection object.
163163
"""
164164
def get_query_parameter(self,original_name: str) -> str:
165165
"""

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-managedappprotection-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 windowsInformationProtection 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-windowsinformationprotection-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 windowsInformationProtection 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 windowsInformationProtection 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-managedappprotection-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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-managedappprotection-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 iosManagedAppRegistration 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-iosmanagedappregistration-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 iosManagedAppRegistration 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 iosManagedAppRegistration 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_e_books/item/assignments/assignments_request_builder.py

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

5050
async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]:
5151
"""
52-
List properties and relationships of the iosVppEBookAssignment objects.
52+
List properties and relationships of the managedEBookAssignment objects.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[ManagedEBookAssignmentCollectionResponse]
55-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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: ManagedEBookAssignment, request_configuration: Optiona
9494

9595
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9696
"""
97-
List properties and relationships of the iosVppEBookAssignment objects.
97+
List properties and relationships of the managedEBookAssignment objects.
9898
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9999
Returns: RequestInformation
100100
"""
@@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder:
140140
@dataclass
141141
class AssignmentsRequestBuilderGetQueryParameters():
142142
"""
143-
List properties and relationships of the iosVppEBookAssignment objects.
143+
List properties and relationships of the managedEBookAssignment objects.
144144
"""
145145
def get_query_parameter(self,original_name: str) -> str:
146146
"""

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
@@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE
7272

7373
async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
7474
"""
75-
Update the properties of a managedEBookAssignment object.
75+
Update the properties of a iosVppEBookAssignment object.
7676
param body: The request body
7777
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7878
Returns: Optional[ManagedEBookAssignment]
79-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0
79+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0
8080
"""
8181
if body is None:
8282
raise TypeError("body cannot be null.")
@@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
118118

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

msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py

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

5757
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBook]:
5858
"""
59-
Read properties and relationships of the managedEBook object.
59+
Read properties and relationships of the iosVppEBook object.
6060
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6161
Returns: Optional[ManagedEBook]
62-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0
62+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0
6363
"""
6464
request_info = self.to_get_request_information(
6565
request_configuration
@@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
112112

113113
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
114114
"""
115-
Read properties and relationships of the managedEBook object.
115+
Read properties and relationships of the iosVppEBook object.
116116
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
117117
Returns: RequestInformation
118118
"""
@@ -201,7 +201,7 @@ class ManagedEBookItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat
201201
@dataclass
202202
class ManagedEBookItemRequestBuilderGetQueryParameters():
203203
"""
204-
Read properties and relationships of the managedEBook object.
204+
Read properties and relationships of the iosVppEBook object.
205205
"""
206206
def get_query_parameter(self,original_name: str) -> str:
207207
"""

0 commit comments

Comments
 (0)