Skip to content

Commit 4916be0

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 186391
1 parent 48e3153 commit 4916be0

File tree

141 files changed

+5267
-454
lines changed

Some content is hidden

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

141 files changed

+5267
-454
lines changed

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

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

3737
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3838
"""
39-
Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
39+
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
4040
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
4141
Returns: None
42-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta
42+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta
4343
"""
4444
request_info = self.to_delete_request_information(
4545
request_configuration
@@ -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 and relationships of an updatableAssetGroup 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-updatableassetgroup-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
@@ -99,7 +99,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque
9999

100100
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
101101
"""
102-
Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
102+
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
103103
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
104104
Returns: RequestInformation
105105
"""
@@ -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/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
@@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages
7373

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

109109
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
110110
"""
111-
Send a new chatMessage in the specified channel or a chat.
111+
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.
112112
param body: The request body
113113
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114114
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_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) ->
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]:
5151
"""
52-
The collection property of AppLogUploadRequest.
52+
Indicates collection of App Log Upload Request.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[AppLogCollectionRequestCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
The collection property of AppLogUploadRequest.
95+
Indicates collection of App Log Upload Request.
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 AppLogCollectionRequestsRequestBuilderGetQueryParameters():
140140
"""
141-
The collection property of AppLogUploadRequest.
141+
Indicates collection of App Log Upload Request.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py

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

5252
async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]:
5353
"""
54-
The collection property of AppLogUploadRequest.
54+
Indicates collection of App Log Upload Request.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[AppLogCollectionRequest]
5757
"""
@@ -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[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
The collection property of AppLogUploadRequest.
107+
Indicates collection of App Log Upload Request.
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 AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques
157157
@dataclass
158158
class AppLogCollectionRequestItemRequestBuilderGetQueryParameters():
159159
"""
160-
The collection property of AppLogUploadRequest.
160+
Indicates collection of App Log Upload Request.
161161
"""
162162
def get_query_parameter(self,original_name: str) -> str:
163163
"""

msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cloud_pc_troubleshoot_reports/retrieve_cloud_pc_troubleshoot_reports_post_request_body.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class RetrieveCloudPcTroubleshootReportsPostRequestBody(AdditionalDataHolder, Ba
1717
additional_data: dict[str, Any] = field(default_factory=dict)
1818
# The filter property
1919
filter: Optional[str] = None
20+
# The groupBy property
21+
group_by: Optional[list[str]] = None
2022
# The orderBy property
2123
order_by: Optional[list[str]] = None
2224
# The reportName property
@@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
5254

5355
fields: dict[str, Callable[[Any], None]] = {
5456
"filter": lambda n : setattr(self, 'filter', n.get_str_value()),
57+
"groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)),
5558
"orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)),
5659
"reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPCTroubleshootReportType)),
5760
"search": lambda n : setattr(self, 'search', n.get_str_value()),
@@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None:
7073
if writer is None:
7174
raise TypeError("writer cannot be null.")
7275
writer.write_str_value("filter", self.filter)
76+
writer.write_collection_of_primitive_values("groupBy", self.group_by)
7377
writer.write_collection_of_primitive_values("orderBy", self.order_by)
7478
writer.write_enum_value("reportName", self.report_name)
7579
writer.write_str_value("search", self.search)

msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_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: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
3535
"""
36-
Use this API to create a new Table.
36+
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
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[WorkbookTable]
40-
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?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: AddPostRequestBody, request_configuration: Optional[Re
5757

5858
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Use this API to create a new Table.
60+
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
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/drives/item/items/item/workbook/worksheets/item/tables/add/add_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: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
3535
"""
36-
Use this API to create a new Table.
36+
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
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[WorkbookTable]
40-
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?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: AddPostRequestBody, request_configuration: Optional[Re
5757

5858
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Use this API to create a new Table.
60+
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
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

0 commit comments

Comments
 (0)