Skip to content

Commit ceb9e99

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 173698
1 parent 9ed6e96 commit ceb9e99

File tree

204 files changed

+603
-588
lines changed

Some content is hidden

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

204 files changed

+603
-588
lines changed

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

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

3232
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3333
"""
34-
Delete an operationalInsightsConnection object.
34+
Delete a resourceConnection object.
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: None
37-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta
37+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta
3838
"""
3939
request_info = self.to_delete_request_information(
4040
request_configuration
@@ -94,7 +94,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R
9494

9595
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9696
"""
97-
Delete an operationalInsightsConnection object.
97+
Delete a resourceConnection object.
9898
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9999
Returns: RequestInformation
100100
"""

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
@@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5454

5555
async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]:
5656
"""
57-
Read the properties and relationships of an updatableAssetGroup object.
57+
Read the properties and relationships of an updatableAsset object.
5858
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5959
Returns: Optional[UpdatableAsset]
60-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta
60+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta
6161
"""
6262
request_info = self.to_get_request_information(
6363
request_configuration
@@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
109109

110110
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
111111
"""
112-
Read the properties and relationships of an updatableAssetGroup object.
112+
Read the properties and relationships of an updatableAsset object.
113113
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114114
Returns: RequestInformation
115115
"""
@@ -189,7 +189,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur
189189
@dataclass
190190
class UpdatableAssetItemRequestBuilderGetQueryParameters():
191191
"""
192-
Read the properties and relationships of an updatableAssetGroup object.
192+
Read the properties and relationships of an updatableAsset object.
193193
"""
194194
def get_query_parameter(self,original_name: str) -> str:
195195
"""

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

Lines changed: 6 additions & 6 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 a complianceChange object.
35+
Delete a contentApproval 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-compliancechange-delete?view=graph-rest-beta
38+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta
3939
"""
4040
request_info = self.to_delete_request_information(
4141
request_configuration
@@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian
7272

7373
async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ComplianceChange]:
7474
"""
75-
Update the properties of a complianceChange object.
75+
Update the properties of a contentApproval 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[ComplianceChange]
79-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta
79+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta
8080
"""
8181
if body is None:
8282
raise TypeError("body cannot be null.")
@@ -96,7 +96,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req
9696

9797
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9898
"""
99-
Delete a complianceChange object.
99+
Delete a contentApproval object.
100100
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
101101
Returns: RequestInformation
102102
"""
@@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
118118

119119
def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120120
"""
121-
Update the properties of a complianceChange object.
121+
Update the properties of a contentApproval 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_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
@@ -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-beta
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta
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_beta/generated/authentication_method_devices/item/hardware_oath_devices/hardware_oath_devices_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def by_hardware_oath_token_authentication_method_device_id(self,hardware_oath_to
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse]:
5050
"""
51-
Get hardwareOathDevices from authenticationMethodDevices
51+
Exposes the hardware OATH method in the directory.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[HardwareOathTokenAuthenticationMethodDeviceCollectionResponse]
5454
"""
@@ -91,7 +91,7 @@ async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_c
9191

9292
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HardwareOathDevicesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9393
"""
94-
Get hardwareOathDevices from authenticationMethodDevices
94+
Exposes the hardware OATH method in the directory.
9595
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9696
Returns: RequestInformation
9797
"""
@@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder:
137137
@dataclass
138138
class HardwareOathDevicesRequestBuilderGetQueryParameters():
139139
"""
140-
Get hardwareOathDevices from authenticationMethodDevices
140+
Exposes the hardware OATH method in the directory.
141141
"""
142142
def get_query_parameter(self,original_name: str) -> str:
143143
"""

msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/assign_to/assign_to_request_builder.py

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

3434
async def get(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> Optional[User]:
3535
"""
36-
Get assignTo from authenticationMethodDevices
36+
Assign the hardware OATH token to a user.
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: Optional[User]
3939
"""
@@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AssignTo
5353

5454
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignToRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5555
"""
56-
Get assignTo from authenticationMethodDevices
56+
Assign the hardware OATH token to a user.
5757
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5858
Returns: RequestInformation
5959
"""
@@ -93,7 +93,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder
9393
@dataclass
9494
class AssignToRequestBuilderGetQueryParameters():
9595
"""
96-
Get assignTo from authenticationMethodDevices
96+
Assign the hardware OATH token to a user.
9797
"""
9898
def get_query_parameter(self,original_name: str) -> str:
9999
"""

msgraph_beta/generated/authentication_method_devices/item/hardware_oath_devices/item/hardware_oath_token_authentication_method_device_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[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]:
5252
"""
53-
Get hardwareOathDevices from authenticationMethodDevices
53+
Exposes the hardware OATH method in the directory.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[HardwareOathTokenAuthenticationMethodDevice]
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[HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
Get hardwareOathDevices from authenticationMethodDevices
107+
Exposes the hardware OATH method in the directory.
108108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109109
Returns: RequestInformation
110110
"""
@@ -157,7 +157,7 @@ class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequest
157157
@dataclass
158158
class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters():
159159
"""
160-
Get hardwareOathDevices from authenticationMethodDevices
160+
Exposes the hardware OATH method in the directory.
161161
"""
162162
def get_query_parameter(self,original_name: str) -> str:
163163
"""

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
@@ -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-beta
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta
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_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_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[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRule]:
5252
"""
53-
The list of scheduled action for this rule
53+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[DeviceComplianceScheduledActionForRule]
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[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
The list of scheduled action for this rule
107+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
108108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109109
Returns: RequestInformation
110110
"""
@@ -157,7 +157,7 @@ class DeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfi
157157
@dataclass
158158
class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters():
159159
"""
160-
The list of scheduled action for this rule
160+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
161161
"""
162162
def get_query_parameter(self,original_name: str) -> str:
163163
"""

msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def by_device_compliance_scheduled_action_for_rule_id(self,device_compliance_sch
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]:
5050
"""
51-
The list of scheduled action for this rule
51+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]
5454
"""
@@ -91,7 +91,7 @@ async def post(self,body: DeviceComplianceScheduledActionForRule, request_config
9191

9292
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9393
"""
94-
The list of scheduled action for this rule
94+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
9595
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9696
Returns: RequestInformation
9797
"""
@@ -137,7 +137,7 @@ def count(self) -> CountRequestBuilder:
137137
@dataclass
138138
class ScheduledActionsForRuleRequestBuilderGetQueryParameters():
139139
"""
140-
The list of scheduled action for this rule
140+
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
141141
"""
142142
def get_query_parameter(self,original_name: str) -> str:
143143
"""

0 commit comments

Comments
 (0)