From 2fc18b89c9f7c740a9c58282f8f2debf99d9881a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 18 Mar 2025 10:44:00 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 182989 --- ...esource_connection_item_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 8 +- .../compliance_change_item_request_builder.py | 14 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../assignments_request_builder.py | 6 +- ...uration_assignment_item_request_builder.py | 6 +- ...ed_action_for_rule_item_request_builder.py | 6 +- ...eduled_actions_for_rule_request_builder.py | 6 +- ...isaster_recovery_report_request_builder.py | 4 +- .../hardware_oath_devices_request_builder.py | 6 +- .../retention_label_request_builder.py | 6 +- .../tables/add/add_request_builder.py | 6 +- .../item/tables/add/add_request_builder.py | 6 +- .../education_user_item_request_builder.py | 6 +- .../external_item_item_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 6 +- .../data_connectors_request_builder.py | 6 +- .../inbound_flows_request_builder.py | 6 +- .../item/inbound_flow_item_request_builder.py | 6 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- ...onversation_thread_item_request_builder.py | 8 +- .../named_location_item_request_builder.py | 20 +- ...workflow_extension_item_request_builder.py | 6 +- .../risk_detection_item_request_builder.py | 8 +- msgraph_beta/generated/kiota-dom-export.txt | 171 ++++++++++++++++++ msgraph_beta/generated/kiota-lock.json | 4 +- ...pp_management_application_configuration.py | 9 +- .../generated/models/audience_restriction.py | 76 ++++++++ .../models/audiences_configuration.py | 65 +++++++ .../cloud_pc_disaster_recovery_capability.py | 2 +- .../cloud_pc_domain_join_configuration.py | 2 +- .../models/cloud_pc_provisioning_policy.py | 2 +- ...pp_management_application_configuration.py | 9 +- .../custom_app_management_configuration.py | 2 +- .../models/device_compliance_policy.py | 2 +- ...ent_platform_restrictions_configuration.py | 16 +- ...on_choice_setting_collection_definition.py | 4 +- ...figuration_referred_setting_information.py | 2 +- ...gement_configuration_setting_definition.py | 14 +- ...ion_setting_group_collection_definition.py | 4 +- ...on_simple_setting_collection_definition.py | 4 +- ...configuration_simple_setting_definition.py | 8 +- .../generated/models/extended_key_usage.py | 4 +- .../models/forward_to_chat_result.py | 4 +- .../ios_lob_app_provisioning_configuration.py | 4 +- .../models/ios_managed_app_protection.py | 2 +- msgraph_beta/generated/models/key_value.py | 4 +- .../mac_os_lob_app_assignment_settings.py | 2 +- .../models/mobile_app_content_file.py | 8 +- .../models/mobile_threat_defense_connector.py | 28 +-- .../generated/models/online_meeting_base.py | 2 +- .../models/privilege_management_elevation.py | 28 +-- .../models/service_now_connection.py | 2 +- .../generated/models/win32_lob_app.py | 34 ++-- .../windows_quality_update_catalog_item.py | 4 +- ...token_validation_policy_request_builder.py | 8 +- .../risk_detections_request_builder.py | 8 +- .../claims_policy_request_builder.py | 12 +- .../sites/item/pages/pages_request_builder.py | 6 +- .../generated/sites/sites_request_builder.py | 8 +- .../count/count_request_builder.py | 104 +++++++++++ ...h_drive_protection_unit_request_builder.py | 148 +++++++++++++++ .../count/count_request_builder.py | 104 +++++++++++ ...mailbox_protection_unit_request_builder.py | 148 +++++++++++++++ .../count/count_request_builder.py | 104 +++++++++++ ...ph_site_protection_unit_request_builder.py | 148 +++++++++++++++ ...h_drive_protection_unit_request_builder.py | 108 +++++++++++ ...mailbox_protection_unit_request_builder.py | 108 +++++++++++ ...ph_site_protection_unit_request_builder.py | 108 +++++++++++ ...otection_unit_base_item_request_builder.py | 30 +++ .../protection_units_request_builder.py | 30 +++ .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../item/messages/messages_request_builder.py | 6 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../team_templates_request_builder.py | 8 +- .../forward_to_chat_request_builder.py | 5 +- .../forward_to_chat_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../reply_with_quote_request_builder.py | 5 +- .../item/presence/presence_request_builder.py | 8 +- 116 files changed, 1807 insertions(+), 297 deletions(-) create mode 100644 msgraph_beta/generated/models/audience_restriction.py create mode 100644 msgraph_beta/generated/models/audiences_configuration.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py create mode 100644 msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index a44db7bab6e..b8e1ea42d8e 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = 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-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = 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 """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index 03e8bed2f92..c04a994edc2 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]: """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -190,7 +190,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatableAssetGroup object. + Read the properties and relationships of an updatableAsset object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 29503b345a4..9dc5ebe3b4c 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. 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-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = 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-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = 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 @@ -161,7 +161,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py index 7ac1bb4c6ac..3123ef2191e 100644 --- a/msgraph_beta/generated/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 7d6cf182904..10310898fd5 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index ef22076c97a..ea4b99aba59 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py index 2c35143c2f1..828d3677c5a 100644 --- a/msgraph_beta/generated/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index dc3e60042e2..ef159db0b1b 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -49,7 +49,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 426f188bedc..313b3485ab9 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignment] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques @dataclass class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py index 2b32a7b8913..d41274cbd30 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRule]: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRule] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class DeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfi @dataclass class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters(): """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py index e79985ff247..386303153cf 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py @@ -49,7 +49,7 @@ def by_device_compliance_scheduled_action_for_rule_id(self,device_compliance_sch async def get(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceComplianceScheduledActionForRuleCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: DeviceComplianceScheduledActionForRule, request_config def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScheduledActionsForRuleRequestBuilderGetQueryParameters(): """ - The list of scheduled action for this rule + The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py index e3f71711311..0bfb9295a68 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: RetrieveCrossRegionDisasterRecoveryReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: """ - Retrieve the Windows 365 cross-region disaster recovery report, including CloudPcId, UserId, DeviceId, CloudPCDeviceDisplayName, UserPrincipalName, IsCrossRegionEnabled, CrossRegionHealthStatus, LicenseType, DisasterRecoveryStatus, CurrentRestorePointDateTime, and ActivationExpirationDateTime. + Retrieve the Windows 365 cross-region disaster recovery report, including cloudPcId, userId, deviceId, cloudPCDeviceDisplayName, userPrincipalName, enabledDRType, disasterRecoveryStatus, licenseType, drHealthStatus, currentRestorePointDateTime, backupCloudPcStatus, and activationExpirationDateTime. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -54,7 +54,7 @@ async def post(self,body: RetrieveCrossRegionDisasterRecoveryReportPostRequestBo def to_post_request_information(self,body: RetrieveCrossRegionDisasterRecoveryReportPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Retrieve the Windows 365 cross-region disaster recovery report, including CloudPcId, UserId, DeviceId, CloudPCDeviceDisplayName, UserPrincipalName, IsCrossRegionEnabled, CrossRegionHealthStatus, LicenseType, DisasterRecoveryStatus, CurrentRestorePointDateTime, and ActivationExpirationDateTime. + Retrieve the Windows 365 cross-region disaster recovery report, including cloudPcId, userId, deviceId, cloudPCDeviceDisplayName, userPrincipalName, enabledDRType, disasterRecoveryStatus, licenseType, drHealthStatus, currentRestorePointDateTime, backupCloudPcStatus, and activationExpirationDateTime. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py index 4814d5b5994..9231707d403 100644 --- a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Hardware async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] - Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 70ff82f190b..340a044831c 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index c571cb598c0..6f1c0a0318f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index 6874e2ee1d9..3cb2ed9dabd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. + 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use this API to create a new Table. + 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py index 6712a3e556d..512d9db0ab0 100644 --- a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py @@ -78,11 +78,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Educatio async def patch(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EducationUser]: """ - Update the properties of an educationuser object. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] - Find more info here: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an educationuser object. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py index 5d4a940343e..3a26cd25a05 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py index dde7c04adbb..6d8c916f5bd 100644 --- a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe async def patch(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Schema]: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index d5e20d4262c..80446b0372d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py index 3adea31a89c..580f37f8811 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[InboundF async def post(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InboundFlow]: """ - Create a new inboundApiFlow object. + Create a new inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new inboundApiFlow object. + Create a new inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py index 7b204f66b58..93f03078f2d 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[InboundF async def patch(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InboundFlow]: """ - Update the properties of an inboundApiFlow object. + Update the properties of an inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: InboundFlow, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an inboundApiFlow object. + Update the properties of an inboundFileFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py index f3c96b870fd..5e8276e8125 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 548fc0049b7..de9fc671535 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index f112a949ec2..5af5e522092 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py index e68a0a34ad0..75a18bad65a 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py index 01d783241c1..bd0608c3dc1 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 0c89d951f0c..65ece10528f 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 545a80af8d0..562030bd6da 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py index a17173d0af4..f2ae01cd297 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index d561b1a43ce..a10db3016ec 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -171,7 +171,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 294f020ec87..c5f89f865e4 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a namedLocation object. + Delete an ipNamedLocation 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/namedlocation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of a namedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/compliantnetworknamedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[NamedLoc async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -96,7 +96,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a namedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a namedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an ipNamedLocation object. + Update the properties of a countryNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a namedLocation object. + Read the properties and relationships of a compliantNetworkNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 92be4f704f5..79a386dfa6e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. 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/accesspackageassignmentworkflowextension-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( @@ -99,7 +99,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py index a8f690d99f1..d1fb69c29e2 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetection]: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetection] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class RiskDetectionItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class RiskDetectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index f85190cc438..041548a5c3f 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -160960,6 +160960,8 @@ msgraph_beta.generated.models.ApplyLabelAction::|public|responsible_sensitive_ty msgraph_beta.generated.models.ApplyLabelAction::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.ApplyLabelAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):ApplyLabelAction msgraph_beta.generated.models.AppManagementApplicationConfiguration-->AppManagementConfiguration +msgraph_beta.generated.models.AppManagementApplicationConfiguration::|public|audiences():AudiencesConfiguration +msgraph_beta.generated.models.AppManagementApplicationConfiguration::|public|audiences(value:AudiencesConfiguration):None msgraph_beta.generated.models.AppManagementApplicationConfiguration::|public|constructor():None msgraph_beta.generated.models.AppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph_beta.generated.models.AppManagementApplicationConfiguration::|public|identifier_uris():IdentifierUriConfiguration @@ -162333,6 +162335,38 @@ msgraph_beta.generated.models.AttributeType::0002-Reference msgraph_beta.generated.models.AttributeType::0003-Binary msgraph_beta.generated.models.AttributeType::0004-Boolean msgraph_beta.generated.models.AttributeType::0005-DateTime +msgraph_beta.generated.models.AudienceRestriction::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AudienceRestriction::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AudienceRestriction::|public|backing_store:BackingStore +msgraph_beta.generated.models.AudienceRestriction::|public|constructor():None +msgraph_beta.generated.models.AudienceRestriction::|public|exclude_actors():AppManagementPolicyActorExemptions +msgraph_beta.generated.models.AudienceRestriction::|public|exclude_actors(value:AppManagementPolicyActorExemptions):None +msgraph_beta.generated.models.AudienceRestriction::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AudienceRestriction::|public|is_state_set_by_microsoft():bool +msgraph_beta.generated.models.AudienceRestriction::|public|is_state_set_by_microsoft(value:bool):None +msgraph_beta.generated.models.AudienceRestriction::|public|odata_type():str +msgraph_beta.generated.models.AudienceRestriction::|public|odata_type(value:str):None +msgraph_beta.generated.models.AudienceRestriction::|public|restrict_for_apps_created_after_date_time():datetime.datetime +msgraph_beta.generated.models.AudienceRestriction::|public|restrict_for_apps_created_after_date_time(value:datetime.datetime):None +msgraph_beta.generated.models.AudienceRestriction::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AudienceRestriction::|public|state():AppManagementRestrictionState +msgraph_beta.generated.models.AudienceRestriction::|public|state(value:AppManagementRestrictionState):None +msgraph_beta.generated.models.AudienceRestriction::|static|public|create_from_discriminator_value(parse_node:ParseNode):AudienceRestriction +msgraph_beta.generated.models.AudienceRestriction~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.AudiencesConfiguration::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.AudiencesConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.AudiencesConfiguration::|public|azure_ad_multiple_orgs():AudienceRestriction +msgraph_beta.generated.models.AudiencesConfiguration::|public|azure_ad_multiple_orgs(value:AudienceRestriction):None +msgraph_beta.generated.models.AudiencesConfiguration::|public|backing_store:BackingStore +msgraph_beta.generated.models.AudiencesConfiguration::|public|constructor():None +msgraph_beta.generated.models.AudiencesConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.AudiencesConfiguration::|public|odata_type():str +msgraph_beta.generated.models.AudiencesConfiguration::|public|odata_type(value:str):None +msgraph_beta.generated.models.AudiencesConfiguration::|public|personal_microsoft_account():AudienceRestriction +msgraph_beta.generated.models.AudiencesConfiguration::|public|personal_microsoft_account(value:AudienceRestriction):None +msgraph_beta.generated.models.AudiencesConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.AudiencesConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):AudiencesConfiguration +msgraph_beta.generated.models.AudiencesConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.Audio::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.Audio::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.Audio::|public|album():str @@ -173390,6 +173424,8 @@ msgraph_beta.generated.models.CustomAction::|public|serialize(writer:Serializati msgraph_beta.generated.models.CustomAction::|static|public|create_from_discriminator_value(parse_node:ParseNode):CustomAction msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|audiences():AudiencesConfiguration +msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|audiences(value:AudiencesConfiguration):None msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|backing_store:BackingStore msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|constructor():None msgraph_beta.generated.models.CustomAppManagementApplicationConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -300267,6 +300303,135 @@ msgraph_beta.generated.solutions.backupRestore.protectionUnits.count.CountReques msgraph_beta.generated.solutions.backupRestore.protectionUnits.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.solutions.backupRestore.protectionUnits.count.CountRequestBuilder::|public|url_template:str msgraph_beta.generated.solutions.backupRestore.protectionUnits.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]):DriveProtectionUnitCollectionResponse +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphDriveProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]):MailboxProtectionUnitCollectionResponse +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphMailboxProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|count:CountRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]):SiteProtectionUnitCollectionResponse +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphSiteProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder.GraphDriveProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]):DriveProtectionUnit +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphDriveProtectionUnit.GraphDriveProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphDriveProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder.GraphMailboxProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]):MailboxProtectionUnit +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphMailboxProtectionUnit.GraphMailboxProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphMailboxProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder.GraphSiteProtectionUnitRequestBuilderGetRequestConfiguration-->RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]):SiteProtectionUnit +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|url_template:str +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.graphSiteProtectionUnit.GraphSiteProtectionUnitRequestBuilder::|public|with_url(raw_url:str):GraphSiteProtectionUnitRequestBuilder msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder.ProtectionUnitBaseItemRequestBuilderGetQueryParameters::|public|expand:list[str] msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder.ProtectionUnitBaseItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -300274,6 +300439,9 @@ msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUn msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder.ProtectionUnitBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[ProtectionUnitBaseItemRequestBuilderGetQueryParameters] msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ProtectionUnitBaseItemRequestBuilderGetQueryParameters]):ProtectionUnitBase +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|graph_drive_protection_unit:GraphDriveProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|graph_mailbox_protection_unit:GraphMailboxProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|graph_site_protection_unit:GraphSiteProtectionUnitRequestBuilder msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.solutions.backupRestore.protectionUnits.item.ProtectionUnitBaseItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ProtectionUnitBaseItemRequestBuilderGetQueryParameters]):RequestInformation @@ -300294,6 +300462,9 @@ msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRe msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|count:CountRequestBuilder msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ProtectionUnitsRequestBuilderGetQueryParameters]):ProtectionUnitBaseCollectionResponse +msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|graph_drive_protection_unit:GraphDriveProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|graph_mailbox_protection_unit:GraphMailboxProtectionUnitRequestBuilder +msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|graph_site_protection_unit:GraphSiteProtectionUnitRequestBuilder msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.solutions.backupRestore.protectionUnits.ProtectionUnitsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ProtectionUnitsRequestBuilderGetQueryParameters]):RequestInformation diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index d3fea71eff0..1391aacd49e 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "BCE949DBE243F0662B48145DD4B1415408EBE299955CE8362EAB9A546ECCE4B3F1E9D98735C26A1D61C1164BC809850594A804CAE8B1C5E4C02A64BB6E5C4F58", + "descriptionHash": "5C5987CF22B4DC736A8DBC2A80DB8A2434405321ED751096EF8F9A0A75EF22ACA0FFC2288200FB923727BBE2860A06EF7DD05DD1A149E0FC2AF192C2138286C0", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.24.0", + "kiotaVersion": "1.25.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "msgraph_beta.generated", diff --git a/msgraph_beta/generated/models/app_management_application_configuration.py b/msgraph_beta/generated/models/app_management_application_configuration.py index 911c33e15de..b9df5dc7714 100644 --- a/msgraph_beta/generated/models/app_management_application_configuration.py +++ b/msgraph_beta/generated/models/app_management_application_configuration.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .app_management_configuration import AppManagementConfiguration + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration @@ -14,7 +15,9 @@ class AppManagementApplicationConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.appManagementApplicationConfiguration" - # Configuration object for restrictions on identifierUris property for an application + # Property to restrict creation or update of apps based on their target signInAudience types. + audiences: Optional[AudiencesConfiguration] = None + # Configuration object for restrictions on identifierUris property for an application. identifier_uris: Optional[IdentifierUriConfiguration] = None @staticmethod @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .app_management_configuration import AppManagementConfiguration + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration from .app_management_configuration import AppManagementConfiguration + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration fields: dict[str, Callable[[Any], None]] = { + "audiences": lambda n : setattr(self, 'audiences', n.get_object_value(AudiencesConfiguration)), "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), } super_fields = super().get_field_deserializers() @@ -55,6 +61,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("audiences", self.audiences) writer.write_object_value("identifierUris", self.identifier_uris) diff --git a/msgraph_beta/generated/models/audience_restriction.py b/msgraph_beta/generated/models/audience_restriction.py new file mode 100644 index 00000000000..fcbc0ad1b9d --- /dev/null +++ b/msgraph_beta/generated/models/audience_restriction.py @@ -0,0 +1,76 @@ +from __future__ import annotations +import datetime +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + +@dataclass +class AudienceRestriction(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute, they're exempted from the restriction. + exclude_actors: Optional[AppManagementPolicyActorExemptions] = None + # The isStateSetByMicrosoft property + is_state_set_by_microsoft: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # Specifies the date from which the policy restriction applies to newly created applications. For existing applications, the enforcement date can be retroactively applied. + restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None + # The state property + state: Optional[AppManagementRestrictionState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AudienceRestriction: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AudienceRestriction + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AudienceRestriction() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + from .app_management_policy_actor_exemptions import AppManagementPolicyActorExemptions + from .app_management_restriction_state import AppManagementRestrictionState + + fields: dict[str, Callable[[Any], None]] = { + "excludeActors": lambda n : setattr(self, 'exclude_actors', n.get_object_value(AppManagementPolicyActorExemptions)), + "isStateSetByMicrosoft": lambda n : setattr(self, 'is_state_set_by_microsoft', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), + "state": lambda n : setattr(self, 'state', n.get_enum_value(AppManagementRestrictionState)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("excludeActors", self.exclude_actors) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) + writer.write_enum_value("state", self.state) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/audiences_configuration.py b/msgraph_beta/generated/models/audiences_configuration.py new file mode 100644 index 00000000000..ba6159bf61a --- /dev/null +++ b/msgraph_beta/generated/models/audiences_configuration.py @@ -0,0 +1,65 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .audience_restriction import AudienceRestriction + +@dataclass +class AudiencesConfiguration(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Setting to allow or disallow creation of apps with multitenant signInAudience. + azure_ad_multiple_orgs: Optional[AudienceRestriction] = None + # The OdataType property + odata_type: Optional[str] = None + # Setting to allow or disallow creation of apps with personal Microsoft account signInAudience. + personal_microsoft_account: Optional[AudienceRestriction] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AudiencesConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AudiencesConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AudiencesConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .audience_restriction import AudienceRestriction + + from .audience_restriction import AudienceRestriction + + fields: dict[str, Callable[[Any], None]] = { + "azureAdMultipleOrgs": lambda n : setattr(self, 'azure_ad_multiple_orgs', n.get_object_value(AudienceRestriction)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "personalMicrosoftAccount": lambda n : setattr(self, 'personal_microsoft_account', n.get_object_value(AudienceRestriction)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_object_value("azureAdMultipleOrgs", self.azure_ad_multiple_orgs) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("personalMicrosoftAccount", self.personal_microsoft_account) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py index f0a7d4d7703..17bc05060c5 100644 --- a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py @@ -18,7 +18,7 @@ class CloudPcDisasterRecoveryCapability(AdditionalDataHolder, BackedModel, Parsa additional_data: dict[str, Any] = field(default_factory=dict) # The disaster recovery action that can be performed for the Cloud PC. The possible values are: none, failover, failback, unknownFutureValue. capability_type: Optional[CloudPcDisasterRecoveryCapabilityType] = None - # The licenseType property + # The disaster recovery license type that provides the capability. license_type: Optional[CloudPcDisasterRecoveryLicenseType] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py index 937b38cade5..fb0b2531f08 100644 --- a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py +++ b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py @@ -22,7 +22,7 @@ class CloudPcDomainJoinConfiguration(AdditionalDataHolder, BackedModel, Parsable odata_type: Optional[str] = None # The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Microsoft Entra joined. If you enter an onPremisesConnectionId, leave the regionName property empty. on_premises_connection_id: Optional[str] = None - # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, and southKorea. Read-only. + # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. region_group: Optional[CloudPcRegionGroup] = None # The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. The underlying virtual network is created and managed by the Windows 365 service. This can only be entered if the IT admin chooses Microsoft Entra joined as the domain join type. If you enter a regionName, leave the onPremisesConnectionId property empty. region_name: Optional[str] = None diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py index 7ab9a5c24c6..8d7491bd67c 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py @@ -25,7 +25,7 @@ class CloudPcProvisioningPolicy(Entity, Parsable): alternate_resource_url: Optional[str] = None # A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. assignments: Optional[list[CloudPcProvisioningPolicyAssignment]] = None - # The specific settings for Windows Autopatch that enable its customers to experience it on Cloud PC. The settings take effect when the tenant enrolls in Windows Autopatch and the managedType of the microsoftManagedDesktop property is set as starterManaged. Supports $select. + # Indicates the Windows Autopatch settings for Cloud PCs using this provisioning policy. The settings take effect when the tenant enrolls in Autopatch and the managedType of the microsoftManagedDesktop property is set as starterManaged. Supports $select. autopatch: Optional[CloudPcProvisioningPolicyAutopatch] = None # The specific settings for Windows Autopilot that enable Windows 365 customers to experience it on Cloud PC. Supports $select. autopilot_configuration: Optional[CloudPcAutopilotConfiguration] = None diff --git a/msgraph_beta/generated/models/custom_app_management_application_configuration.py b/msgraph_beta/generated/models/custom_app_management_application_configuration.py index 49b7c8c347a..156f4ebc41c 100644 --- a/msgraph_beta/generated/models/custom_app_management_application_configuration.py +++ b/msgraph_beta/generated/models/custom_app_management_application_configuration.py @@ -6,6 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration @dataclass @@ -15,7 +16,9 @@ class CustomAppManagementApplicationConfiguration(AdditionalDataHolder, BackedMo # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Configuration for identifierUris restrictions + # Property to restrict creation or update of apps based on their target signInAudience types. + audiences: Optional[AudiencesConfiguration] = None + # Configuration for identifierUris restrictions. identifier_uris: Optional[IdentifierUriConfiguration] = None # The OdataType property odata_type: Optional[str] = None @@ -36,11 +39,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration + from .audiences_configuration import AudiencesConfiguration from .identifier_uri_configuration import IdentifierUriConfiguration fields: dict[str, Callable[[Any], None]] = { + "audiences": lambda n : setattr(self, 'audiences', n.get_object_value(AudiencesConfiguration)), "identifierUris": lambda n : setattr(self, 'identifier_uris', n.get_object_value(IdentifierUriConfiguration)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -54,6 +60,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + writer.write_object_value("audiences", self.audiences) writer.write_object_value("identifierUris", self.identifier_uris) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/custom_app_management_configuration.py b/msgraph_beta/generated/models/custom_app_management_configuration.py index 15c41b7203b..4b18bedc3b9 100644 --- a/msgraph_beta/generated/models/custom_app_management_configuration.py +++ b/msgraph_beta/generated/models/custom_app_management_configuration.py @@ -14,7 +14,7 @@ class CustomAppManagementConfiguration(AppManagementConfiguration, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.customAppManagementConfiguration" - # Restrictions applicable only to application objects that the policy applies to. + # Restrictions that are applicable only to application objects to which the policy is attached. application_restrictions: Optional[CustomAppManagementApplicationConfiguration] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_compliance_policy.py b/msgraph_beta/generated/models/device_compliance_policy.py index 0a6ad9510c5..97c69929420 100644 --- a/msgraph_beta/generated/models/device_compliance_policy.py +++ b/msgraph_beta/generated/models/device_compliance_policy.py @@ -54,7 +54,7 @@ class DeviceCompliancePolicy(Entity, Parsable): odata_type: Optional[str] = None # List of Scope Tags for this Entity instance. role_scope_tag_ids: Optional[list[str]] = None - # The list of scheduled action for this rule + # The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. scheduled_actions_for_rule: Optional[list[DeviceComplianceScheduledActionForRule]] = None # Device compliance users status overview user_status_overview: Optional[DeviceComplianceUserOverview] = None diff --git a/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py b/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py index 1be40d7f080..33c5b2e083d 100644 --- a/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_platform_restrictions_configuration.py @@ -17,25 +17,25 @@ class DeviceEnrollmentPlatformRestrictionsConfiguration(DeviceEnrollmentConfigur """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration" - # Android for work restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Android For Work platform. android_for_work_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Android restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Android platform. android_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Ios restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for IOS platform. ios_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Mac restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for MacOS platform. mac_o_s_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Mac restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Mac platform. mac_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None # Indicates restrictions for TvOS platform. tvos_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None # Indicates restrictions for VisionOS platform. vision_o_s_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Windows Home Sku restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Windows HomeSku platform. windows_home_sku_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Windows mobile restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Windows Mobile platform. windows_mobile_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None - # Windows restrictions based on platform, platform operating system version, and device ownership + # Indicates restrictions for Windows platform. windows_restriction: Optional[DeviceEnrollmentPlatformRestriction] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py index 9425e379039..34a8130b402 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationChoiceSettingCollectionDefinition(DeviceManagementConfigurationChoiceSettingDefinition, Parsable): - # Maximum number of choices in the collection. Valid values 1 to 100 + # Maximum number of choices in the collection maximum_count: Optional[int] = None - # Minimum number of choices in the collection. Valid values 1 to 100 + # Minimum number of choices in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py index e9cd3d251fa..bcd2aa3de18 100644 --- a/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py +++ b/msgraph_beta/generated/models/device_management_configuration_referred_setting_information.py @@ -17,7 +17,7 @@ class DeviceManagementConfigurationReferredSettingInformation(AdditionalDataHold additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # Setting definition id that is being referred to a setting. Applicable for reusable setting. + # Setting definition id that is being referred to a setting. Applicable for reusable setting setting_definition_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index 4de4354b540..f6ed83c37f3 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -28,19 +28,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on + # Details which device setting is applicable on. Supports: $filters. applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + # Specify category in which the setting is under. Support $filters. category_id: Optional[str] = None - # Description of the item + # Description of the setting. description: Optional[str] = None - # Display name of the item + # Name of the setting. For example: Allow Toast. display_name: Optional[str] = None - # Help text of the item + # Help text of the setting. Give more details of the setting. help_text: Optional[str] = None - # List of links more info for the setting can be found at + # List of links more info for the setting can be found at. info_urls: Optional[list[str]] = None # Tokens which to search settings on keywords: Optional[list[str]] = None @@ -56,7 +56,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): referred_setting_information_list: Optional[list[DeviceManagementConfigurationReferredSettingInformation]] = None # Setting RiskLevel risk_level: Optional[DeviceManagementConfigurationSettingRiskLevel] = None - # Root setting definition if the setting is a child setting. + # Root setting definition id if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index 87bf0f2aec5..f82b84785f3 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition, Parsable): - # Maximum number of setting group count in the collection + # Maximum number of setting group count in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection + # Minimum number of setting group count in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index 770adb10406..1d50b3b2cf9 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSimpleSettingCollectionDefinition(DeviceManagementConfigurationSimpleSettingDefinition, Parsable): - # Maximum number of simple settings in the collection. Valid values 1 to 100 + # Maximum number of simple settings in the collection maximum_count: Optional[int] = None - # Minimum number of simple settings in the collection. Valid values 1 to 100 + # Minimum number of simple settings in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py index 2edd1402d50..c5ea07f9878 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py @@ -16,15 +16,15 @@ @dataclass class DeviceManagementConfigurationSimpleSettingDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Default setting value for this setting. + # Default setting value for this setting default_value: Optional[DeviceManagementConfigurationSettingValue] = None - # list of child settings that depend on this setting. + # list of child settings that depend on this setting depended_on_by: Optional[list[DeviceManagementConfigurationSettingDependedOnBy]] = None - # list of parent settings this setting is dependent on. + # list of parent settings this setting is dependent on dependent_on: Optional[list[DeviceManagementConfigurationDependentOn]] = None # The OdataType property odata_type: Optional[str] = None - # Definition of the value for this setting. + # Definition of the value for this setting value_definition: Optional[DeviceManagementConfigurationSettingValueDefinition] = None @staticmethod diff --git a/msgraph_beta/generated/models/extended_key_usage.py b/msgraph_beta/generated/models/extended_key_usage.py index 1ea561e4126..1e39c859ba0 100644 --- a/msgraph_beta/generated/models/extended_key_usage.py +++ b/msgraph_beta/generated/models/extended_key_usage.py @@ -15,9 +15,9 @@ class ExtendedKeyUsage(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Extended Key Usage Name + # The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. name: Optional[str] = None - # Extended Key Usage Object Identifier + # The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. object_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/forward_to_chat_result.py b/msgraph_beta/generated/models/forward_to_chat_result.py index 87de86be3a9..c79ef6f1f02 100644 --- a/msgraph_beta/generated/models/forward_to_chat_result.py +++ b/msgraph_beta/generated/models/forward_to_chat_result.py @@ -13,9 +13,9 @@ class ForwardToChatResult(ActionResultPart, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.forwardToChatResult" - # The forwardedMessageId property + # The chatMessage ID generated after a message is successfully forwarded to the target chat ID. forwarded_message_id: Optional[str] = None - # The targetChatId property + # The target chat ID where the message was forwarded. target_chat_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index 8e040b17c44..69d5ab03382 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -19,7 +19,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): """ This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS LOB App Provisioning Configuration resource. """ - # The associated group assignments for IosLobAppProvisioningConfiguration. + # The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. assignments: Optional[list[IosLobAppProvisioningConfigurationAssignment]] = None # DateTime the object was created. created_date_time: Optional[datetime.datetime] = None @@ -29,7 +29,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): device_statuses: Optional[list[ManagedDeviceMobileAppConfigurationDeviceStatus]] = None # Admin provided name of the device configuration. display_name: Optional[str] = None - # Optional profile expiration date and time. + # Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. expiration_date_time: Optional[datetime.datetime] = None # The associated group assignments. group_assignments: Optional[list[MobileAppProvisioningConfigGroupAssignment]] = None diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 81f05886226..5f5dfe5291a 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -33,7 +33,7 @@ class IosManagedAppProtection(TargetedManagedAppProtection, Parsable): app_data_encryption_type: Optional[ManagedAppDataEncryptionType] = None # List of apps to which the policy is deployed. apps: Optional[list[ManagedMobileApp]] = None - # A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + # A custom browser protocol to open weblink on iOS. custom_browser_protocol: Optional[str] = None # Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. custom_dialer_app_protocol: Optional[str] = None diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index 3317bba6f74..740202b69b1 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -12,11 +12,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Key. + # Contains the name of the field that a value is associated with. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Value. + # Contains the corresponding value for the specified key. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py index 2b08b1d1b88..7bb8313816c 100644 --- a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py @@ -16,7 +16,7 @@ class MacOsLobAppAssignmentSettings(MobileAppAssignmentSettings, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.macOsLobAppAssignmentSettings" - # When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + # Whether or not to uninstall the app when device is removed from Intune. uninstall_on_device_removal: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/mobile_app_content_file.py b/msgraph_beta/generated/models/mobile_app_content_file.py index 70c8ac55ce2..dc4609e04f6 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file.py +++ b/msgraph_beta/generated/models/mobile_app_content_file.py @@ -34,13 +34,13 @@ class MobileAppContentFile(Entity, Parsable): name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The size of the file prior to encryption. To be deprecated, please use sizeInBytes property instead. + # Indicates the original size of the file, in bytes. size: Optional[int] = None - # The size of the file after encryption. To be deprecated, please use sizeEncryptedInBytes property instead. + # Indicates the size of the file after encryption, in bytes. size_encrypted: Optional[int] = None - # Indicates the size of the file after encryption, in bytes. Valid values 0 to 9.22337203685478E+18 + # Indicates the size of the file after encryption, in bytes. To be deprecated in February 2025, please use SizeEncrypted property instead. Valid values 0 to 9.22337203685478E+18 size_encrypted_in_bytes: Optional[int] = None - # Indicates the original size of the file, in bytes. Valid values 0 to 9.22337203685478E+18 + # Indicates the original size of the file, in bytes. To be deprecated in February 2025, please use Size property instead. Valid values 0 to 9.22337203685478E+18 size_in_bytes: Optional[int] = None # Contains properties for upload request states. upload_state: Optional[MobileAppContentFileUploadState] = None diff --git a/msgraph_beta/generated/models/mobile_threat_defense_connector.py b/msgraph_beta/generated/models/mobile_threat_defense_connector.py index 0ea5791ee06..7b444d95836 100644 --- a/msgraph_beta/generated/models/mobile_threat_defense_connector.py +++ b/msgraph_beta/generated/models/mobile_threat_defense_connector.py @@ -16,27 +16,27 @@ class MobileThreatDefenseConnector(Entity, Parsable): """ Entity which represents a connection to Mobile Threat Defense partner. """ - # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE. + # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for iOS devices. Default value is FALSE. allow_partner_to_collect_i_o_s_application_metadata: Optional[bool] = None - # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE. + # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for iOS devices. Default value is FALSE. allow_partner_to_collect_i_o_s_personal_application_metadata: Optional[bool] = None - # For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant + # When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking an Android device compliant. When FALSE, indicates that Intune may mark an Android device compliant before receiving data from the Mobile Threat Defense partner. android_device_blocked_on_missing_partner_data: Optional[bool] = None - # For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations + # When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Android devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Android devices. Default value is FALSE. android_enabled: Optional[bool] = None # When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for Android devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for Android devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. android_mobile_application_management_enabled: Optional[bool] = None - # For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant + # When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant. When FALSE, indicates that Intune may not recieve data from Mobile Threat Defense partner prior to making device compliant. Default value is FALSE. ios_device_blocked_on_missing_partner_data: Optional[bool] = None - # For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations + # When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for iOS devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for iOS devices. Default value is FALSE. ios_enabled: Optional[bool] = None - # When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. + # When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for iOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for iOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. ios_mobile_application_management_enabled: Optional[bool] = None # DateTime of last Heartbeat recieved from the Mobile Threat Defense partner last_heartbeat_date_time: Optional[datetime.datetime] = None - # For Mac, get or set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant + # When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a Mac device compliant. When FALSE, indicates that Intune may mark a Mac device compliant prior to receiving data from the Mobile Threat Defense partner. Default value is FALSE. mac_device_blocked_on_missing_partner_data: Optional[bool] = None - # For Mac, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations + # When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Mac devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Mac devices. Default value is FALSE. mac_enabled: Optional[bool] = None # When TRUE, inidicates that configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, inidicates that configuration profile management via Microsoft Defender for Endpoint is disabled. Default value is FALSE. microsoft_defender_for_endpoint_attach_enabled: Optional[bool] = None @@ -44,15 +44,15 @@ class MobileThreatDefenseConnector(Entity, Parsable): odata_type: Optional[str] = None # Partner state of this tenant. partner_state: Optional[MobileThreatPartnerTenantState] = None - # Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + # Indicates the number of days without receiving a heartbeat from a Mobile Threat Defense partner before the partner is marked as unresponsive. Intune will the ignore the data from this Mobile Threat Defense Partner for next compliance calculation. partner_unresponsiveness_threshold_in_days: Optional[int] = None - # Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner + # When TRUE, indicates that Intune will mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. When FALSE, indicates that Intune will not mark devices noncompliant on enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. Default value is FALSE. partner_unsupported_os_version_blocked: Optional[bool] = None - # When TRUE, inidicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, inidicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE. + # When TRUE, indicates that Intune must receive data from the data sync partner prior to marking a device compliant for Windows. When FALSE, indicates that Intune may mark a device compliant without receiving data from the data sync partner for Windows. Default value is FALSE. windows_device_blocked_on_missing_partner_data: Optional[bool] = None - # When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE. + # When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Windows. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Windows. Default value is FALSE. windows_enabled: Optional[bool] = None - # When TRUE, app protection policies using the Device Threat Level rule will evaluate devices including data from this connector for Windows. When FALSE, Intune will not use device risk details sent over this connector during app protection policies calculation for policies with a Device Threat Level configured. Existing devices that are not compliant due to risk levels obtained from this connector will also become compliant. + # When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for iOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for iOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. windows_mobile_application_management_enabled: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/online_meeting_base.py b/msgraph_beta/generated/models/online_meeting_base.py index 0fb65f25d96..b0a41b7b684 100644 --- a/msgraph_beta/generated/models/online_meeting_base.py +++ b/msgraph_beta/generated/models/online_meeting_base.py @@ -65,7 +65,7 @@ class OnlineMeetingBase(Entity, Parsable): chat_info: Optional[ChatInfo] = None # Specifies the configuration settings for meeting chat restrictions. chat_restrictions: Optional[ChatRestrictions] = None - # The isEndToEndEncryptionEnabled property + # Indicates whether end-to-end encryption (E2EE) is enabled for the online meeting. is_end_to_end_encryption_enabled: Optional[bool] = None # Indicates whether to announce when callers join or leave. is_entry_exit_announced: Optional[bool] = None diff --git a/msgraph_beta/generated/models/privilege_management_elevation.py b/msgraph_beta/generated/models/privilege_management_elevation.py index 113e47c4dd8..b36e971c706 100644 --- a/msgraph_beta/generated/models/privilege_management_elevation.py +++ b/msgraph_beta/generated/models/privilege_management_elevation.py @@ -18,29 +18,29 @@ class PrivilegeManagementElevation(Entity, Parsable): """ The endpoint privilege management elevation result entity representing a single elevation action on a client device. """ - # The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50` + # The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: 32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50 certificate_payload: Optional[str] = None - # The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation` + # The company name of the application. This value is set by the creator of the application. Example: Microsoft Corporation company_name: Optional[str] = None - # The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b` + # The Intune deviceId. Unique identifier for the managed device. Example: 92ce5047-9553-4731-817f-9b401a999a1b device_id: Optional[str] = None - # The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`. + # The name associated with the device in the intune database. Example: JOHNDOE-LAPTOP. device_name: Optional[str] = None # Indicates the type of elevation occured elevation_type: Optional[PrivilegeManagementElevationType] = None - # The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z` + # The date and time when the application was elevated. Example:2014-01-01T00:00:00Z event_date_time: Optional[datetime.datetime] = None - # The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.` + # The file description of the application. This value is set by the creator of the application. Example: Editor of multiple coding languages. file_description: Optional[str] = None - # The full file path of the application including the filename and file extension. Example: `C:/Program Files/vscode.exe` + # The full file path of the application including the filename and file extension. Example: C:/Program Files/vscode.exe file_path: Optional[str] = None - # The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000` + # The version of the application. This value is set by the creator of the application. Example: 6.2211.1035.1000 file_version: Optional[str] = None - # The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57` + # The sha256 hash of the application. Example: 32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57 hash: Optional[str] = None - # The internal name of the application. This value is set by the creator of the application. Example: `VS code` + # The internal name of the application. This value is set by the creator of the application. Example: VS code internal_name: Optional[str] = None - # The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`. + # The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: To install debug tool.. justification: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -52,15 +52,15 @@ class PrivilegeManagementElevation(Entity, Parsable): policy_name: Optional[str] = None # Indicates the type of elevated process process_type: Optional[PrivilegeManagementProcessType] = None - # The product name of the application. This value is set by the creator of the application. Example: `Visual Studio` + # The product name of the application. This value is set by the creator of the application. Example: Visual Studio product_name: Optional[str] = None - # The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647 + # The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: 0. Valid values 0 to 2147483647 result: Optional[int] = None # Unique identifier of the rule configured to run the application with elevated access rule_id: Optional[str] = None # To identify if the elevation is initiated by system or user interaction system_initiated_elevation: Optional[bool] = None - # The User Principal Name of the user who performed the elevation. Example: `john@domain.com` + # The User Principal Name of the user who performed the elevation. Example: john@domain.com upn: Optional[str] = None # The type of user account on Windows that was used to performed the elevation. user_type: Optional[PrivilegeManagementEndUserType] = None diff --git a/msgraph_beta/generated/models/service_now_connection.py b/msgraph_beta/generated/models/service_now_connection.py index f7695043064..481b1f406a0 100644 --- a/msgraph_beta/generated/models/service_now_connection.py +++ b/msgraph_beta/generated/models/service_now_connection.py @@ -23,7 +23,7 @@ class ServiceNowConnection(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # Indicates the ServiceNow incident API URL that Intune will use the fetch incidents. Saved in the format of /api/now/table/incident incident_api_url: Optional[str] = None - # Indicates the ServiceNow instance URL that Intune will connect to. Saved in the format of https://.service-now.com + # Indicates the ServiceNow instance URL that Intune will connect to. Saved in the format of https://.service-now.com instance_url: Optional[str] = None # Date Time when connection properties were last updated. The value cannot be modified and is automatically populated when the connection properties were updated. last_modified_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/win32_lob_app.py b/msgraph_beta/generated/models/win32_lob_app.py index d2252d35b76..ff7f0417789 100644 --- a/msgraph_beta/generated/models/win32_lob_app.py +++ b/msgraph_beta/generated/models/win32_lob_app.py @@ -25,41 +25,41 @@ class Win32LobApp(MobileLobApp, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.win32LobApp" - # When TRUE, indicates that uninstall is supported from the company portal for the Windows app (Win32) with an Available assignment. When FALSE, indicates that uninstall is not supported for the Windows app (Win32) with an Available assignment. Default value is FALSE. + # Indicates whether the uninstall is supported from the company portal for the Win32 app with an available assignment. When TRUE, indicates that uninstall is supported from the company portal for the Windows app (Win32) with an available assignment. When FALSE, indicates that uninstall is not supported for the Windows app (Win32) with an Available assignment. Default value is FALSE. allow_available_uninstall: Optional[bool] = None # Contains properties for Windows architecture. applicable_architectures: Optional[WindowsArchitecture] = None - # The detection rules to detect Win32 Line of Business (LoB) app. + # Indicates the detection rules to detect Win32 Line of Business (LoB) app. Possible values are Win32LobAppPowerShellScriptDetection, Win32LobAppRegistryDetection, Win32LobAppFileSystemDetection, Win32LobAppProductCodeDetection. detection_rules: Optional[list[Win32LobAppDetection]] = None - # The version displayed in the UX for this app. + # Indicates the version displayed in the UX for this app. Used to set the version of the app. Example: 1.0.3.215. display_version: Optional[str] = None - # The command line to install this app + # Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn. install_command_line: Optional[str] = None - # The install experience for this app. + # Indicates the install experience for this app. install_experience: Optional[Win32LobAppInstallExperience] = None - # The value for the minimum CPU speed which is required to install this app. + # Indicates the value for the minimum CPU speed which is required to install this app. Allowed range from 0 to clock speed from WMI helper. minimum_cpu_speed_in_m_hz: Optional[int] = None - # The value for the minimum free disk space which is required to install this app. + # Indicates the value for the minimum free disk space which is required to install this app. Allowed range from 0 to driver's maximum available free space. minimum_free_disk_space_in_m_b: Optional[int] = None - # The value for the minimum physical memory which is required to install this app. + # Indicates the value for the minimum physical memory which is required to install this app. Allowed range from 0 to total physical memory from WMI helper. minimum_memory_in_m_b: Optional[int] = None - # The value for the minimum number of processors which is required to install this app. + # Indicates the value for the minimum number of processors which is required to install this app. Minimum value is 0. minimum_number_of_processors: Optional[int] = None - # The value for the minimum applicable operating system. + # Indicates the value for the minimum applicable operating system. minimum_supported_operating_system: Optional[WindowsMinimumOperatingSystem] = None - # The value for the minimum supported windows release. + # Indicates the value for the minimum supported windows release. Example: Windows11_23H2. minimum_supported_windows_release: Optional[str] = None - # The MSI details if this Win32 app is an MSI app. + # Indicates the MSI details if this Win32 app is an MSI app. msi_information: Optional[Win32LobAppMsiInformation] = None - # The requirement rules to detect Win32 Line of Business (LoB) app. + # Indicates the requirement rules to detect Win32 Line of Business (LoB) app. Possible values are: Win32LobAppFileSystemRequirement, Win32LobAppPowerShellScriptRequirement, Win32LobAppRegistryRequirement. requirement_rules: Optional[list[Win32LobAppRequirement]] = None - # The return codes for post installation behavior. + # Indicates the return codes for post installation behavior. return_codes: Optional[list[Win32LobAppReturnCode]] = None - # The detection and requirement rules for this app. + # Indicates the detection and requirement rules for this app. Possible values are: Win32LobAppFileSystemRule, Win32LobAppPowerShellScriptRule, Win32LobAppProductCodeRule, Win32LobAppRegistryRule. rules: Optional[list[Win32LobAppRule]] = None - # The relative path of the setup file in the encrypted Win32LobApp package. + # Indicates the relative path of the setup file in the encrypted Win32LobApp package. Example: Intel-SA-00075 Detection and Mitigation Tool.msi. setup_file_path: Optional[str] = None - # The command line to uninstall this app + # Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn. uninstall_command_line: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_quality_update_catalog_item.py b/msgraph_beta/generated/models/windows_quality_update_catalog_item.py index db75ee629ec..80128cb6883 100644 --- a/msgraph_beta/generated/models/windows_quality_update_catalog_item.py +++ b/msgraph_beta/generated/models/windows_quality_update_catalog_item.py @@ -21,9 +21,9 @@ class WindowsQualityUpdateCatalogItem(WindowsUpdateCatalogItem, Parsable): odata_type: Optional[str] = "#microsoft.graph.windowsQualityUpdateCatalogItem" # Windows quality update category classification: Optional[WindowsQualityUpdateCategory] = None - # Flag indicating if update qualifies for expedite + # When TRUE, indicates that the quality updates qualify for expedition. When FALSE, indicates the quality updates do not quality for expedition. Default value is FALSE. Read-only is_expeditable: Optional[bool] = None - # Knowledge base article id + # Identifies the knowledge base article associated with the Windows quality update catalog item. Read-only kb_article_id: Optional[str] = None # The operating system product revisions that are released as part of this quality update. Read-only. product_revisions: Optional[list[WindowsQualityUpdateCatalogProductRevision]] = None diff --git a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py index f4704a736ee..b0c3503a34e 100644 --- a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py +++ b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedTokenValidationPolicy] - Find more info here: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration(Req @dataclass class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a federatedTokenValidationPolicy object. + Get a list of the federatedTokenValidationPolicy objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py index 8b3c3c4214a..293e5a16a6e 100644 --- a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py @@ -48,10 +48,10 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: RiskDetection, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> RiskDetectionsRequestBuilder: @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a riskDetection object. + Retrieve the properties of a collection of riskDetection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py index 8b416b30c6a..eb201be90cd 100644 --- a/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/claims_policy/claims_policy_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ClaimsPo async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + Update a customClaimsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -77,11 +77,11 @@ async def patch(self,body: CustomClaimsPolicy, request_configuration: Optional[R async def put(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomClaimsPolicy]: """ - Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + Update a customClaimsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomClaimsPolicy] - Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -112,7 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + Update a customClaimsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_patch_request_information(self,body: CustomClaimsPolicy, request_configur def to_put_request_information(self,body: CustomClaimsPolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + Update a customClaimsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py index 2b20eebbb8e..e36603dc329 100644 --- a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PagesReq async def post(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[BaseSitePage]: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] - Find more info here: https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/newslinkpage-create?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: BaseSitePage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new sitePage in the site pages list in a site. + Create a new newsLinkPage in the site pages list of a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 0d4c93e32f4..757b49cdd25 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -52,10 +52,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py new file mode 100644 index 00000000000..bdfb9950677 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/count/count_request_builder.py @@ -0,0 +1,104 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py new file mode 100644 index 00000000000..38692c737ae --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py @@ -0,0 +1,148 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.drive_protection_unit_collection_response import DriveProtectionUnitCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + +class GraphDriveProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to driveProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphDriveProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[DriveProtectionUnitCollectionResponse]: + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveProtectionUnitCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.drive_protection_unit_collection_response import DriveProtectionUnitCollectionResponse + + return await self.request_adapter.send_async(request_info, DriveProtectionUnitCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphDriveProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphDriveProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GraphDriveProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GraphDriveProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py new file mode 100644 index 00000000000..23e50d70e9e --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/count/count_request_builder.py @@ -0,0 +1,104 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py new file mode 100644 index 00000000000..80dba58e2fc --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py @@ -0,0 +1,148 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.mailbox_protection_unit_collection_response import MailboxProtectionUnitCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + +class GraphMailboxProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to mailboxProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphMailboxProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxProtectionUnitCollectionResponse]: + """ + Get a list of mailboxProtectionUnit objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxProtectionUnitCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.mailbox_protection_unit_collection_response import MailboxProtectionUnitCollectionResponse + + return await self.request_adapter.send_async(request_info, MailboxProtectionUnitCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of mailboxProtectionUnit objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphMailboxProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphMailboxProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GraphMailboxProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of mailboxProtectionUnit objects. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GraphMailboxProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py new file mode 100644 index 00000000000..026fe4c5a15 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/count/count_request_builder.py @@ -0,0 +1,104 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py new file mode 100644 index 00000000000..9e2116ba806 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/graph_site_protection_unit/graph_site_protection_unit_request_builder.py @@ -0,0 +1,148 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.site_protection_unit_collection_response import SiteProtectionUnitCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class GraphSiteProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to siteProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphSiteProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[SiteProtectionUnitCollectionResponse]: + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteProtectionUnitCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.site_protection_unit_collection_response import SiteProtectionUnitCollectionResponse + + return await self.request_adapter.send_async(request_info, SiteProtectionUnitCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphSiteProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphSiteProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GraphSiteProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GraphSiteProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py new file mode 100644 index 00000000000..49eed1fbc37 --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_drive_protection_unit/graph_drive_protection_unit_request_builder.py @@ -0,0 +1,108 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.drive_protection_unit import DriveProtectionUnit + from ......models.o_data_errors.o_data_error import ODataError + +class GraphDriveProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to driveProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphDriveProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.driveProtectionUnit{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[DriveProtectionUnit]: + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DriveProtectionUnit] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.drive_protection_unit import DriveProtectionUnit + + return await self.request_adapter.send_async(request_info, DriveProtectionUnit, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphDriveProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphDriveProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GraphDriveProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class GraphDriveProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphDriveProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py new file mode 100644 index 00000000000..bd6d49eecef --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_mailbox_protection_unit/graph_mailbox_protection_unit_request_builder.py @@ -0,0 +1,108 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.mailbox_protection_unit import MailboxProtectionUnit + from ......models.o_data_errors.o_data_error import ODataError + +class GraphMailboxProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to mailboxProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphMailboxProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.mailboxProtectionUnit{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[MailboxProtectionUnit]: + """ + Get a list of mailboxProtectionUnit objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxProtectionUnit] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.mailbox_protection_unit import MailboxProtectionUnit + + return await self.request_adapter.send_async(request_info, MailboxProtectionUnit, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of mailboxProtectionUnit objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphMailboxProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphMailboxProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GraphMailboxProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of mailboxProtectionUnit objects. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class GraphMailboxProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphMailboxProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py new file mode 100644 index 00000000000..a83a0bd317a --- /dev/null +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/graph_site_protection_unit/graph_site_protection_unit_request_builder.py @@ -0,0 +1,108 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.site_protection_unit import SiteProtectionUnit + +class GraphSiteProtectionUnitRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to siteProtectionUnit. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new GraphSiteProtectionUnitRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.siteProtectionUnit{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]] = None) -> Optional[SiteProtectionUnit]: + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SiteProtectionUnit] + Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-beta + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.site_protection_unit import SiteProtectionUnit + + return await self.request_adapter.send_async(request_info, SiteProtectionUnit, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GraphSiteProtectionUnitRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: GraphSiteProtectionUnitRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GraphSiteProtectionUnitRequestBuilderGetQueryParameters(): + """ + Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[list[str]] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + + @dataclass + class GraphSiteProtectionUnitRequestBuilderGetRequestConfiguration(RequestConfiguration[GraphSiteProtectionUnitRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py index 0d36d595e34..db3e91fc7fc 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py @@ -16,6 +16,9 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError from .....models.protection_unit_base import ProtectionUnitBase + from .graph_drive_protection_unit.graph_drive_protection_unit_request_builder import GraphDriveProtectionUnitRequestBuilder + from .graph_mailbox_protection_unit.graph_mailbox_protection_unit_request_builder import GraphMailboxProtectionUnitRequestBuilder + from .graph_site_protection_unit.graph_site_protection_unit_request_builder import GraphSiteProtectionUnitRequestBuilder class ProtectionUnitBaseItemRequestBuilder(BaseRequestBuilder): """ @@ -72,6 +75,33 @@ def with_url(self,raw_url: str) -> ProtectionUnitBaseItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ProtectionUnitBaseItemRequestBuilder(self.request_adapter, raw_url) + @property + def graph_drive_protection_unit(self) -> GraphDriveProtectionUnitRequestBuilder: + """ + Casts the previous resource to driveProtectionUnit. + """ + from .graph_drive_protection_unit.graph_drive_protection_unit_request_builder import GraphDriveProtectionUnitRequestBuilder + + return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def graph_mailbox_protection_unit(self) -> GraphMailboxProtectionUnitRequestBuilder: + """ + Casts the previous resource to mailboxProtectionUnit. + """ + from .graph_mailbox_protection_unit.graph_mailbox_protection_unit_request_builder import GraphMailboxProtectionUnitRequestBuilder + + return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def graph_site_protection_unit(self) -> GraphSiteProtectionUnitRequestBuilder: + """ + Casts the previous resource to siteProtectionUnit. + """ + from .graph_site_protection_unit.graph_site_protection_unit_request_builder import GraphSiteProtectionUnitRequestBuilder + + return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ProtectionUnitBaseItemRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py b/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py index 35d69b9c95f..ecbc98ec129 100644 --- a/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py +++ b/msgraph_beta/generated/solutions/backup_restore/protection_units/protection_units_request_builder.py @@ -17,6 +17,9 @@ from ....models.o_data_errors.o_data_error import ODataError from ....models.protection_unit_base_collection_response import ProtectionUnitBaseCollectionResponse from .count.count_request_builder import CountRequestBuilder + from .graph_drive_protection_unit.graph_drive_protection_unit_request_builder import GraphDriveProtectionUnitRequestBuilder + from .graph_mailbox_protection_unit.graph_mailbox_protection_unit_request_builder import GraphMailboxProtectionUnitRequestBuilder + from .graph_site_protection_unit.graph_site_protection_unit_request_builder import GraphSiteProtectionUnitRequestBuilder from .item.protection_unit_base_item_request_builder import ProtectionUnitBaseItemRequestBuilder class ProtectionUnitsRequestBuilder(BaseRequestBuilder): @@ -96,6 +99,33 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def graph_drive_protection_unit(self) -> GraphDriveProtectionUnitRequestBuilder: + """ + Casts the previous resource to driveProtectionUnit. + """ + from .graph_drive_protection_unit.graph_drive_protection_unit_request_builder import GraphDriveProtectionUnitRequestBuilder + + return GraphDriveProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def graph_mailbox_protection_unit(self) -> GraphMailboxProtectionUnitRequestBuilder: + """ + Casts the previous resource to mailboxProtectionUnit. + """ + from .graph_mailbox_protection_unit.graph_mailbox_protection_unit_request_builder import GraphMailboxProtectionUnitRequestBuilder + + return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def graph_site_protection_unit(self) -> GraphSiteProtectionUnitRequestBuilder: + """ + Casts the previous resource to siteProtectionUnit. + """ + from .graph_site_protection_unit.graph_site_protection_unit_request_builder import GraphSiteProtectionUnitRequestBuilder + + return GraphSiteProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ProtectionUnitsRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py index cc7c41e1966..7d5bd8e47f6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 8b6a6d17181..e3082dde733 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 73c43d48d78..8b355456450 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py index d9cbe923b0e..5958329dc65 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py index 52e00bdded4..9b5986e7cd7 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 49e92bd1803..4b8af4b716a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 1563295e8dd..90562a3ac42 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py index 5984574b40f..9aec4a96112 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py index 36edded1e77..5aa558aaae8 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 7b43ade5418..2b93da8fe81 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index e03882f0d29..6a8a9409ca6 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py index 283165d21e8..77b917778c3 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py index b98cb3561c5..d84c48fb414 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py index d0cd92f887f..7ca7b20a84d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 4ae9f5226cf..ea31eb25d85 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 7471035339c..c410d5d01ca 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py index 21d4c7c9486..0651eb9a7e0 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py index 143dd4bca0f..6bffe84a70d 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index e1aeb06563a..769e86092e6 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 37df1811599..86d60708e86 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py index f77072dc1f3..05008eec08e 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py index f9faefa860d..2a9b8f8a73f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 7829f627e98..5292ebff326 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 723c041fbb3..31f439059d3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py index bd4decadf43..fed16d8fa2e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py index 0c1b728ffc0..3a0200d250d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index 2b94d6acdb0..73e55ea222f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 4a08205fc12..1f55d28f2ab 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py index 90f5c6fe0f3..f66c18353d9 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py index 93b574cdc29..b78ed8fd9e9 100644 --- a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py @@ -49,10 +49,10 @@ def by_team_template_id(self,team_template_id: str) -> TeamTemplateItemRequestBu async def get(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> Optional[TeamTemplateCollectionResponse]: """ - List the teamTemplateDefinition objects associated with a teamTemplate. + Get the list of teamTemplate objects that are available for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: TeamTemplate, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List the teamTemplateDefinition objects associated with a teamTemplate. + Get the list of teamTemplate objects that are available for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamTemplatesRequestBuilderGetQueryParameters(): """ - List the teamTemplateDefinition objects associated with a teamTemplate. + Get the list of teamTemplate objects that are available for a tenant. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py index 65346f0b252..4113a7b4576 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py index c6eddfd4ed6..19068c3d6d6 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/forward_to_chat/forward_to_chat_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ForwardToChatPostResponse]: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardToChatPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ForwardToChatPostRequestBody, request_configuration: O def to_post_request_information(self,body: ForwardToChatPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action forwardToChat + Forward a chat message, a channel message, or a channel message reply to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py index 441491de102..8a52826ff3c 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py index 8c3e2e75c69..113a598830f 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/reply_with_quote/reply_with_quote_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ReplyWithQuotePostRequestBody, request_configuration: def to_post_request_information(self,body: ReplyWithQuotePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action replyWithQuote + Reply with quote to a single chat message or multiple chat messages in a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/presence/presence_request_builder.py b/msgraph_beta/generated/users/item/presence/presence_request_builder.py index 5af371049ff..f02e782972f 100644 --- a/msgraph_beta/generated/users/item/presence/presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/presence_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -199,7 +199,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Get a user's presence information. + Set a presence status message for a user. An optional expiration date and time can be supplied. """ def get_query_parameter(self,original_name: str) -> str: """