Skip to content

Commit 02a792b

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 179842
1 parent 4e153dd commit 02a792b

File tree

61 files changed

+204
-398
lines changed

Some content is hidden

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

61 files changed

+204
-398
lines changed

msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py

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

3333
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3434
"""
35-
Delete an operationalInsightsConnection object.
35+
Delete a resourceConnection object.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: None
38-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta
38+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta
3939
"""
4040
request_info = self.to_delete_request_information(
4141
request_configuration
@@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]:
5353
"""
54-
Read the properties and relationships of an operationalInsightsConnection object.
54+
Read the properties and relationships of a resourceConnection object.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ResourceConnection]
57-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta
57+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta
5858
"""
5959
request_info = self.to_get_request_information(
6060
request_configuration
@@ -95,7 +95,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R
9595

9696
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9797
"""
98-
Delete an operationalInsightsConnection object.
98+
Delete a resourceConnection object.
9999
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
100100
Returns: RequestInformation
101101
"""
@@ -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[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Read the properties and relationships of an operationalInsightsConnection object.
109+
Read the properties and relationships of a resourceConnection object.
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 ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf
150150
@dataclass
151151
class ResourceConnectionItemRequestBuilderGetQueryParameters():
152152
"""
153-
Read the properties and relationships of an operationalInsightsConnection object.
153+
Read the properties and relationships of a resourceConnection object.
154154
"""
155155
def get_query_parameter(self,original_name: str) -> str:
156156
"""

msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py

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

5656
async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]:
5757
"""
58-
Read the properties of an azureADDevice object.
58+
Read the properties and relationships of an updatableAsset object.
5959
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6060
Returns: Optional[UpdatableAsset]
61-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta
61+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta
6262
"""
6363
request_info = self.to_get_request_information(
6464
request_configuration
@@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
110110

111111
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
112112
"""
113-
Read the properties of an azureADDevice object.
113+
Read the properties and relationships of an updatableAsset object.
114114
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
115115
Returns: RequestInformation
116116
"""
@@ -190,7 +190,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur
190190
@dataclass
191191
class UpdatableAssetItemRequestBuilderGetQueryParameters():
192192
"""
193-
Read the properties of an azureADDevice object.
193+
Read the properties and relationships of an updatableAsset object.
194194
"""
195195
def get_query_parameter(self,original_name: str) -> str:
196196
"""

msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py

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

3434
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3535
"""
36-
Delete a complianceChange object.
36+
Delete a contentApproval object.
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/windowsupdates-compliancechange-delete?view=graph-rest-beta
39+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta
4040
"""
4141
request_info = self.to_delete_request_information(
4242
request_configuration
@@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req
9797

9898
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9999
"""
100-
Delete a complianceChange object.
100+
Delete a contentApproval object.
101101
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
102102
Returns: RequestInformation
103103
"""

msgraph_beta/generated/app/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-
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.
36+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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-delete?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta
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-
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.
60+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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_beta/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 cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating 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-beta
78+
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta
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 cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating 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_beta/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-
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.
36+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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-delete?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta
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-
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.
60+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]:
5151
"""
52-
The associated group assignments for IosLobAppProvisioningConfiguration.
52+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
The associated group assignments for IosLobAppProvisioningConfiguration.
95+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
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 AssignmentsRequestBuilderGetQueryParameters():
140140
"""
141-
The associated group assignments for IosLobAppProvisioningConfiguration.
141+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py

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

5151
async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]:
5252
"""
53-
The associated group assignments for IosLobAppProvisioningConfiguration.
53+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[IosLobAppProvisioningConfigurationAssignment]
5656
"""
@@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
104104

105105
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
The associated group assignments for IosLobAppProvisioningConfiguration.
107+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
108108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109109
Returns: RequestInformation
110110
"""
@@ -148,7 +148,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques
148148
@dataclass
149149
class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters():
150150
"""
151-
The associated group assignments for IosLobAppProvisioningConfiguration.
151+
The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
152152
"""
153153
def get_query_parameter(self,original_name: str) -> str:
154154
"""

msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_action_result/retrieve_policy_apply_action_result_request_builder.py

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

3333
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CloudPcPolicyApplyActionResult]:
3434
"""
35-
Invoke function retrievePolicyApplyActionResult
35+
Get the result of the latest apply operation of a provision policy. Frontline shared only. Administrators only.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[CloudPcPolicyApplyActionResult]
38+
Find more info here: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-retrievepolicyapplyactionresult?view=graph-rest-beta
3839
"""
3940
request_info = self.to_get_request_information(
4041
request_configuration
@@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar
5253

5354
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5455
"""
55-
Invoke function retrievePolicyApplyActionResult
56+
Get the result of the latest apply operation of a provision policy. Frontline shared only. Administrators only.
5657
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5758
Returns: RequestInformation
5859
"""

0 commit comments

Comments
 (0)