Skip to content

Commit 0a83ab8

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 167435
1 parent caf10df commit 0a83ab8

File tree

2,686 files changed

+11000
-10805
lines changed

Some content is hidden

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

2,686 files changed

+11000
-10805
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
@@ -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
@@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5050

5151
async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]:
5252
"""
53-
Read the properties and relationships of a resourceConnection object.
53+
Read the properties and relationships of an operationalInsightsConnection object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ResourceConnection]
56-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta
56+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta
5757
"""
5858
request_info = self.to_get_request_information(
5959
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
"""
@@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
105105

106106
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Read the properties and relationships of a resourceConnection object.
108+
Read the properties and relationships of an operationalInsightsConnection object.
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
111111
"""
@@ -149,7 +149,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf
149149
@dataclass
150150
class ResourceConnectionItemRequestBuilderGetQueryParameters():
151151
"""
152-
Read the properties and relationships of a resourceConnection object.
152+
Read the properties and relationships of an operationalInsightsConnection object.
153153
"""
154154
def get_query_parameter(self,original_name: str) -> str:
155155
"""

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

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

3636
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3737
"""
38-
Delete an updatableAsset object.
38+
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.
3939
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
4040
Returns: None
41-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta
41+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta
4242
"""
4343
request_info = self.to_delete_request_information(
4444
request_configuration
@@ -98,7 +98,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque
9898

9999
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
100100
"""
101-
Delete an updatableAsset object.
101+
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.
102102
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
103103
Returns: RequestInformation
104104
"""

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

Lines changed: 7 additions & 7 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[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]:
5353
"""
54-
Read the properties and relationships of a contentApproval object.
54+
Read the properties and relationships of a complianceChange object.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ComplianceChange]
57-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta
57+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta
5858
"""
5959
request_info = self.to_get_request_information(
6060
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 contentApproval object.
75+
Update the properties of a complianceChange 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-contentapproval-update?view=graph-rest-beta
79+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta
8080
"""
8181
if body is None:
8282
raise TypeError("body cannot be null.")
@@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
107107

108108
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109109
"""
110-
Read the properties and relationships of a contentApproval object.
110+
Read the properties and relationships of a complianceChange object.
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
Returns: RequestInformation
113113
"""
@@ -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 contentApproval object.
121+
Update the properties of a complianceChange 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
@@ -160,7 +160,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig
160160
@dataclass
161161
class ComplianceChangeItemRequestBuilderGetQueryParameters():
162162
"""
163-
Read the properties and relationships of a contentApproval object.
163+
Read the properties and relationships of a complianceChange object.
164164
"""
165165
def get_query_parameter(self,original_name: str) -> str:
166166
"""

msgraph_beta/generated/administrative_units/item/members/graph_user/count/count_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
3434
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3535
Returns: Optional[int]
3636
"""
37-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
3837
request_info = self.to_get_request_information(
3938
request_configuration
4039
)
@@ -53,7 +52,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5352
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5453
Returns: RequestInformation
5554
"""
56-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
5755
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
5856
request_info.configure(request_configuration)
5957
request_info.headers.try_add("Accept", "text/plain;q=0.9")
@@ -65,7 +63,6 @@ def with_url(self,raw_url: str) -> CountRequestBuilder:
6563
param raw_url: The raw URL to use for the request builder.
6664
Returns: CountRequestBuilder
6765
"""
68-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6966
if raw_url is None:
7067
raise TypeError("raw_url cannot be null.")
7168
return CountRequestBuilder(self.request_adapter, raw_url)

msgraph_beta/generated/administrative_units/item/members/graph_user/graph_user_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[UserCollectionResponse]
3838
"""
39-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
4039
request_info = self.to_get_request_information(
4140
request_configuration
4241
)
@@ -57,7 +56,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5756
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5857
Returns: RequestInformation
5958
"""
60-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6159
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
6260
request_info.configure(request_configuration)
6361
request_info.headers.try_add("Accept", "application/json")
@@ -69,7 +67,6 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder:
6967
param raw_url: The raw URL to use for the request builder.
7068
Returns: GraphUserRequestBuilder
7169
"""
72-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
7370
if raw_url is None:
7471
raise TypeError("raw_url cannot be null.")
7572
return GraphUserRequestBuilder(self.request_adapter, raw_url)

msgraph_beta/generated/administrative_units/item/members/item/graph_user/graph_user_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: Optional[User]
3737
"""
38-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
3938
request_info = self.to_get_request_information(
4039
request_configuration
4140
)
@@ -56,7 +55,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5655
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5756
Returns: RequestInformation
5857
"""
59-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6058
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
6159
request_info.configure(request_configuration)
6260
request_info.headers.try_add("Accept", "application/json")
@@ -68,7 +66,6 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder:
6866
param raw_url: The raw URL to use for the request builder.
6967
Returns: GraphUserRequestBuilder
7068
"""
71-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
7269
if raw_url is None:
7370
raise TypeError("raw_url cannot be null.")
7471
return GraphUserRequestBuilder(self.request_adapter, raw_url)

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-
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.
35+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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-delete?view=graph-rest-beta
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?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-
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.
59+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
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/applications/item/owners/graph_user/count/count_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
3434
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3535
Returns: Optional[int]
3636
"""
37-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
3837
request_info = self.to_get_request_information(
3938
request_configuration
4039
)
@@ -53,7 +52,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5352
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5453
Returns: RequestInformation
5554
"""
56-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
5755
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
5856
request_info.configure(request_configuration)
5957
request_info.headers.try_add("Accept", "text/plain;q=0.9")
@@ -65,7 +63,6 @@ def with_url(self,raw_url: str) -> CountRequestBuilder:
6563
param raw_url: The raw URL to use for the request builder.
6664
Returns: CountRequestBuilder
6765
"""
68-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6966
if raw_url is None:
7067
raise TypeError("raw_url cannot be null.")
7168
return CountRequestBuilder(self.request_adapter, raw_url)

msgraph_beta/generated/applications/item/owners/graph_user/graph_user_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: Optional[UserCollectionResponse]
3838
"""
39-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
4039
request_info = self.to_get_request_information(
4140
request_configuration
4241
)
@@ -57,7 +56,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5756
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5857
Returns: RequestInformation
5958
"""
60-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6159
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
6260
request_info.configure(request_configuration)
6361
request_info.headers.try_add("Accept", "application/json")
@@ -69,7 +67,6 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder:
6967
param raw_url: The raw URL to use for the request builder.
7068
Returns: GraphUserRequestBuilder
7169
"""
72-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
7370
if raw_url is None:
7471
raise TypeError("raw_url cannot be null.")
7572
return GraphUserRequestBuilder(self.request_adapter, raw_url)

msgraph_beta/generated/applications/item/owners/item/graph_user/graph_user_request_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GraphUse
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: Optional[User]
3737
"""
38-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
3938
request_info = self.to_get_request_information(
4039
request_configuration
4140
)
@@ -56,7 +55,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
5655
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5756
Returns: RequestInformation
5857
"""
59-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
6058
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
6159
request_info.configure(request_configuration)
6260
request_info.headers.try_add("Accept", "application/json")
@@ -68,7 +66,6 @@ def with_url(self,raw_url: str) -> GraphUserRequestBuilder:
6866
param raw_url: The raw URL to use for the request builder.
6967
Returns: GraphUserRequestBuilder
7068
"""
71-
warn(" as of 2024-07/PrivatePreview:copilotExportAPI", DeprecationWarning)
7269
if raw_url is None:
7370
raise TypeError("raw_url cannot be null.")
7471
return GraphUserRequestBuilder(self.request_adapter, raw_url)

0 commit comments

Comments
 (0)