Skip to content

Commit 6b2e0c1

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 174332
1 parent 877142c commit 6b2e0c1

File tree

293 files changed

+16977
-392
lines changed

Some content is hidden

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

293 files changed

+16977
-392
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 a resourceConnection object.
34+
Delete an operationalInsightsConnection 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-resourceconnection-delete?view=graph-rest-beta
37+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-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 a resourceConnection object.
97+
Delete an operationalInsightsConnection 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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
38+
Delete an updatableAsset object.
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-updatableassetgroup-delete?view=graph-rest-beta
41+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
101+
Delete an updatableAsset object.
102102
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
103103
Returns: RequestInformation
104104
"""

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/app_catalogs/teams_apps/teams_apps_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def by_teams_app_id(self,teams_app_id: str) -> TeamsAppItemRequestBuilder:
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> Optional[TeamsAppCollectionResponse]:
5050
"""
51-
List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
51+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[TeamsAppCollectionResponse]
5454
Find more info here: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-beta
@@ -93,7 +93,7 @@ async def post(self,body: TeamsApp, request_configuration: Optional[RequestConfi
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
96+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
9797
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9898
Returns: RequestInformation
9999
"""
@@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
139139
@dataclass
140140
class TeamsAppsRequestBuilderGetQueryParameters():
141141
"""
142-
List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
142+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

msgraph_beta/generated/base_graph_service_client.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from .booking_businesses.booking_businesses_request_builder import BookingBusinessesRequestBuilder
3939
from .booking_currencies.booking_currencies_request_builder import BookingCurrenciesRequestBuilder
4040
from .business_flow_templates.business_flow_templates_request_builder import BusinessFlowTemplatesRequestBuilder
41+
from .certificate_authorities.certificate_authorities_request_builder import CertificateAuthoritiesRequestBuilder
4142
from .certificate_based_auth_configuration.certificate_based_auth_configuration_request_builder import CertificateBasedAuthConfigurationRequestBuilder
4243
from .chats.chats_request_builder import ChatsRequestBuilder
4344
from .commands.commands_request_builder import CommandsRequestBuilder
@@ -132,6 +133,7 @@
132133
from .teams_templates.teams_templates_request_builder import TeamsTemplatesRequestBuilder
133134
from .teamwork.teamwork_request_builder import TeamworkRequestBuilder
134135
from .team_template_definition.team_template_definition_request_builder import TeamTemplateDefinitionRequestBuilder
136+
from .templates.templates_request_builder import TemplatesRequestBuilder
135137
from .tenant_relationships.tenant_relationships_request_builder import TenantRelationshipsRequestBuilder
136138
from .term_store.term_store_request_builder import TermStoreRequestBuilder
137139
from .threat_submission.threat_submission_request_builder import ThreatSubmissionRequestBuilder
@@ -451,6 +453,15 @@ def business_flow_templates(self) -> BusinessFlowTemplatesRequestBuilder:
451453

452454
return BusinessFlowTemplatesRequestBuilder(self.request_adapter, self.path_parameters)
453455

456+
@property
457+
def certificate_authorities(self) -> CertificateAuthoritiesRequestBuilder:
458+
"""
459+
Provides operations to manage the certificateAuthorityPath singleton.
460+
"""
461+
from .certificate_authorities.certificate_authorities_request_builder import CertificateAuthoritiesRequestBuilder
462+
463+
return CertificateAuthoritiesRequestBuilder(self.request_adapter, self.path_parameters)
464+
454465
@property
455466
def certificate_based_auth_configuration(self) -> CertificateBasedAuthConfigurationRequestBuilder:
456467
"""
@@ -1252,6 +1263,15 @@ def teamwork(self) -> TeamworkRequestBuilder:
12521263

12531264
return TeamworkRequestBuilder(self.request_adapter, self.path_parameters)
12541265

1266+
@property
1267+
def templates(self) -> TemplatesRequestBuilder:
1268+
"""
1269+
Provides operations to manage the template singleton.
1270+
"""
1271+
from .templates.templates_request_builder import TemplatesRequestBuilder
1272+
1273+
return TemplatesRequestBuilder(self.request_adapter, self.path_parameters)
1274+
12551275
@property
12561276
def tenant_relationships(self) -> TenantRelationshipsRequestBuilder:
12571277
"""

0 commit comments

Comments
 (0)