Skip to content

Commit 9debd6e

Browse files
authored
Merge pull request #883 from microsoftgraph/beta/pipelinebuild/191849
Generated beta models and request builders
2 parents b90e1c3 + a469926 commit 9debd6e

File tree

142 files changed

+1498
-470
lines changed

Some content is hidden

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

142 files changed

+1498
-470
lines changed

msgraph_beta/generated/admin/exchange/mailboxes/item/create_import_session/create_import_session_request_builder.py

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

3333
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MailboxItemImportSession]:
3434
"""
35-
Create a session to import an Exchange mailbox item using its FastTransfer stream (FTS) format.
35+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[MailboxItemImportSession]
3838
Find more info here: https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-beta
@@ -54,7 +54,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa
5454

5555
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5656
"""
57-
Create a session to import an Exchange mailbox item using its FastTransfer stream (FTS) format.
57+
Create a session to import an Exchange mailbox item that was exported using the exportItems API.
5858
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5959
Returns: RequestInformation
6060
"""

msgraph_beta/generated/admin/exchange/mailboxes/item/export_items/export_items_request_builder.py

Lines changed: 2 additions & 2 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 post(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExportItemsPostResponse]:
3535
"""
36-
Export Exchange mailboxItem objects in full-fidelity FastTransfer stream format for backup purposes. This item format can be restored to the same mailbox or a different one. You can export up to 20 items in a single export request.
36+
Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
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[ExportItemsPostResponse]
@@ -58,7 +58,7 @@ async def post(self,body: ExportItemsPostRequestBody, request_configuration: Opt
5858

5959
def to_post_request_information(self,body: ExportItemsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
6060
"""
61-
Export Exchange mailboxItem objects in full-fidelity FastTransfer stream format for backup purposes. This item format can be restored to the same mailbox or a different one. You can export up to 20 items in a single export request.
61+
Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see: Overview of the mailbox import and export APIs in Microsoft Graph (preview) You can export up to 20 items in a single export request.
6262
param body: The request body
6363
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6464
Returns: RequestInformation

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
@@ -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
@@ -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
"""

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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
39+
Delete an updatableAsset object.
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-updatableassetgroup-delete?view=graph-rest-beta
42+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-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 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
@@ -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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
102+
Delete an updatableAsset object.
103103
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
104104
Returns: RequestInformation
105105
"""
@@ -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
@@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian
7373

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

120120
def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
121121
"""
122-
Update the properties of a contentApproval object.
122+
Update the properties of a complianceChange object.
123123
param body: The request body
124124
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
125125
Returns: RequestInformation

msgraph_beta/generated/administrative_units/item/administrative_unit_item_request_builder.py

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

6161
async def get(self,request_configuration: Optional[RequestConfiguration[AdministrativeUnitItemRequestBuilderGetQueryParameters]] = None) -> Optional[AdministrativeUnit]:
6262
"""
63-
Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance.
63+
Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance.
6464
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6565
Returns: Optional[AdministrativeUnit]
6666
Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-get?view=graph-rest-beta
@@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
116116

117117
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AdministrativeUnitItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
118118
"""
119-
Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance.
119+
Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance.
120120
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
121121
Returns: RequestInformation
122122
"""
@@ -241,7 +241,7 @@ class AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration(RequestConf
241241
@dataclass
242242
class AdministrativeUnitItemRequestBuilderGetQueryParameters():
243243
"""
244-
Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance.
244+
Retrieve the properties and relationships of an administrativeUnit object. The administrativeUnit resource supports extensions, which also allows you to use the GET operation to get custom properties and extension data in an administrativeUnit instance.
245245
"""
246246
def get_query_parameter(self,original_name: str) -> str:
247247
"""

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/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/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_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[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]:
5252
"""
53-
The set of direct relationships for this app.
53+
List of relationships for this mobile app.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[MobileAppRelationship]
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[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
The set of direct relationships for this app.
107+
List of relationships for this mobile app.
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 MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC
148148
@dataclass
149149
class MobileAppRelationshipItemRequestBuilderGetQueryParameters():
150150
"""
151-
The set of direct relationships for this app.
151+
List of relationships for this mobile app.
152152
"""
153153
def get_query_parameter(self,original_name: str) -> str:
154154
"""

0 commit comments

Comments
 (0)