Skip to content

Commit

Permalink
Merge pull request #353 from microsoftgraph/beta/pipelinebuild/137240
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
samwelkanda authored Mar 5, 2024
2 parents 6d93923 + 80f4f9a commit 7f147b9
Show file tree
Hide file tree
Showing 313 changed files with 8,614 additions and 1,184 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D

async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None:
"""
Delete a resourceConnection object.
Delete an operationalInsightsConnection object.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0
"""
request_info = self.to_delete_request_information(
request_configuration
Expand All @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No

async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[ResourceConnection]:
"""
Read the properties and relationships of a resourceConnection object.
Read the properties and relationships of an operationalInsightsConnection object.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[ResourceConnection]
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-1.0
"""
request_info = self.to_get_request_information(
request_configuration
Expand Down Expand Up @@ -92,7 +92,7 @@ async def patch(self,body: Optional[ResourceConnection] = None, request_configur

def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Delete a resourceConnection object.
Delete an operationalInsightsConnection object.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand All @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Read the properties and relationships of a resourceConnection object.
Read the properties and relationships of an operationalInsightsConnection object.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -140,7 +140,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ResourceConnectionItemReques
@dataclass
class ResourceConnectionItemRequestBuilderGetQueryParameters():
"""
Read the properties and relationships of a resourceConnection object.
Read the properties and relationships of an operationalInsightsConnection object.
"""
def get_query_parameter(self,original_name: Optional[str] = None) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D

async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None:
"""
Delete an updatableAsset object.
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0
"""
request_info = self.to_delete_request_information(
request_configuration
Expand Down Expand Up @@ -96,7 +96,7 @@ async def patch(self,body: Optional[UpdatableAsset] = None, request_configuratio

def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Delete an updatableAsset object.
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration] = None)

async def patch(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[RequestConfiguration] = None) -> Optional[ComplianceChange]:
"""
Update the properties of a contentApproval object.
Update the properties of a complianceChange object.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[ComplianceChange]
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-1.0
"""
if not body:
raise TypeError("body cannot be null.")
Expand Down Expand Up @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi

def to_patch_request_information(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Update the properties of a contentApproval object.
Update the properties of a complianceChange object.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D

async def delete(self,request_configuration: Optional[RequestConfiguration] = None) -> None:
"""
Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
Disable and delete the externalMeetingRegistration of an onlineMeeting.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0
Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0
"""
request_info = self.to_delete_request_information(
request_configuration
Expand Down Expand Up @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MeetingRegistration] = None, request_configu

def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
Disable and delete the externalMeetingRegistration of an onlineMeeting.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def by_teams_app_dashboard_card_definition_id(self,teams_app_dashboard_card_defi

async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TeamsAppDashboardCardDefinitionCollectionResponse]:
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[TeamsAppDashboardCardDefinitionCollectionResponse]
"""
Expand Down Expand Up @@ -89,7 +89,7 @@ async def post(self,body: Optional[TeamsAppDashboardCardDefinition] = None, requ

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -135,7 +135,7 @@ def count(self) -> CountRequestBuilder:
@dataclass
class DashboardCardsRequestBuilderGetQueryParameters():
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
"""
def get_query_parameter(self,original_name: Optional[str] = None) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No

async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[TeamsAppDashboardCardDefinition]:
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[TeamsAppDashboardCardDefinition]
"""
Expand Down Expand Up @@ -101,7 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration] = None) -> RequestInformation:
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDashboardCardDefinit
@dataclass
class TeamsAppDashboardCardDefinitionItemRequestBuilderGetQueryParameters():
"""
Get dashboardCards from appCatalogs
Dashboard cards specified in the Teams app manifest.
"""
def get_query_parameter(self,original_name: Optional[str] = None) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from .created_on_behalf_of.created_on_behalf_of_request_builder import CreatedOnBehalfOfRequestBuilder
from .extension_properties.extension_properties_request_builder import ExtensionPropertiesRequestBuilder
from .federated_identity_credentials.federated_identity_credentials_request_builder import FederatedIdentityCredentialsRequestBuilder
from .federated_identity_credentials_with_name.federated_identity_credentials_with_name_request_builder import FederatedIdentityCredentialsWithNameRequestBuilder
from .get_member_groups.get_member_groups_request_builder import GetMemberGroupsRequestBuilder
from .get_member_objects.get_member_objects_request_builder import GetMemberObjectsRequestBuilder
from .home_realm_discovery_policies.home_realm_discovery_policies_request_builder import HomeRealmDiscoveryPoliciesRequestBuilder
Expand Down Expand Up @@ -68,6 +69,18 @@ async def delete(self,request_configuration: Optional[RequestConfiguration] = No
raise Exception("Http core is null")
return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)

def federated_identity_credentials_with_name(self,name: Optional[str] = None) -> FederatedIdentityCredentialsWithNameRequestBuilder:
"""
Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.
param name: Alternate key of federatedIdentityCredential
Returns: FederatedIdentityCredentialsWithNameRequestBuilder
"""
if not name:
raise TypeError("name cannot be null.")
from .federated_identity_credentials_with_name.federated_identity_credentials_with_name_request_builder import FederatedIdentityCredentialsWithNameRequestBuilder

return FederatedIdentityCredentialsWithNameRequestBuilder(self.request_adapter, self.path_parameters, name)

async def get(self,request_configuration: Optional[RequestConfiguration] = None) -> Optional[Application]:
"""
Get the properties and relationships of an application object.
Expand Down
Loading

0 comments on commit 7f147b9

Please sign in to comment.