From 05495b4b17694cb71148a2bbbfed216781c4fa75 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 14 May 2024 10:28:00 +0000 Subject: [PATCH 1/2] Update generated files with build 148567 --- .../item/messages/messages_request_builder.py | 6 +- .../invite/invite_request_builder.py | 6 +- ...managed_app_policy_item_request_builder.py | 8 +- .../managed_app_policies_request_builder.py | 8 +- ...d_app_registration_item_request_builder.py | 8 +- ...naged_app_registrations_request_builder.py | 8 +- .../managed_app_statuses_request_builder.py | 8 +- .../assignments_request_builder.py | 8 +- ..._e_book_assignment_item_request_builder.py | 6 +- ..._app_configuration_item_request_builder.py | 8 +- .../item/mobile_app_item_request_builder.py | 20 +- ...ice_compliance_policies_request_builder.py | 14 +- ..._compliance_policy_item_request_builder.py | 20 +- .../device_configurations_request_builder.py | 14 +- ...vice_configuration_item_request_builder.py | 20 +- ...rollment_configurations_request_builder.py | 14 +- ...ment_configuration_item_request_builder.py | 14 +- .../device_management_request_builder.py | 4 +- .../role_definition_item_request_builder.py | 6 +- .../role_definitions_request_builder.py | 8 +- .../retention_label_request_builder.py | 6 +- .../data_labels_request_builder.py | 6 +- .../item/title/title_request_builder.py | 6 +- .../data_labels_request_builder.py | 6 +- .../title/title_request_builder.py | 6 +- .../data_labels_request_builder.py | 6 +- .../title/title_request_builder.py | 6 +- .../groups/groups_request_builder.py | 6 +- .../conversations_request_builder.py | 6 +- .../item/conversation_item_request_builder.py | 10 +- .../item/reply/reply_request_builder.py | 6 +- .../item/posts/posts_request_builder.py | 8 +- .../item/reply/reply_request_builder.py | 6 +- .../named_location_item_request_builder.py | 20 +- .../access_package_item_request_builder.py | 8 +- ..._callout_extension_item_request_builder.py | 8 +- .../item/agreement_item_request_builder.py | 8 +- msgraph/generated/kiota-lock.json | 2 +- .../generated/models/activity_history_item.py | 6 +- .../models/booking_question_assignment.py | 4 +- .../generated/models/content_customization.py | 72 ++++++ msgraph/generated/models/entity.py | 16 ++ .../organizational_branding_properties.py | 7 + msgraph/generated/models/print_finishing.py | 46 ++++ .../generated/models/security/health_issue.py | 114 ++++++++++ .../health_issue_collection_response.py | 57 +++++ .../models/security/health_issue_severity.py | 8 + .../models/security/health_issue_status.py | 8 + .../models/security/health_issue_type.py | 7 + .../models/security/identity_container.py | 59 +++++ msgraph/generated/models/security/security.py | 7 + .../models/unified_role_assignment.py | 4 +- msgraph/generated/models/workbook_chart.py | 4 +- .../banner_logo_request_builder.py | 6 +- .../item/organization_item_request_builder.py | 6 +- ...dentity_synchronization_request_builder.py | 6 +- .../app_scope/app_scope_request_builder.py | 6 +- .../app_scope/app_scope_request_builder.py | 6 +- .../count/count_request_builder.py | 103 +++++++++ .../health_issues_request_builder.py | 207 ++++++++++++++++++ .../item/health_issue_item_request_builder.py | 187 ++++++++++++++++ .../identities/identities_request_builder.py | 197 +++++++++++++++++ .../security/security_request_builder.py | 10 + .../generated/sites/sites_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 6 +- ...lti_tenant_organization_request_builder.py | 6 +- .../recent/recent_request_builder.py | 6 +- .../users/item/user_item_request_builder.py | 20 +- .../generated/users/users_request_builder.py | 14 +- 69 files changed, 1328 insertions(+), 223 deletions(-) create mode 100644 msgraph/generated/models/content_customization.py create mode 100644 msgraph/generated/models/security/health_issue.py create mode 100644 msgraph/generated/models/security/health_issue_collection_response.py create mode 100644 msgraph/generated/models/security/health_issue_severity.py create mode 100644 msgraph/generated/models/security/health_issue_status.py create mode 100644 msgraph/generated/models/security/health_issue_type.py create mode 100644 msgraph/generated/models/security/identity_container.py create mode 100644 msgraph/generated/security/identities/health_issues/count/count_request_builder.py create mode 100644 msgraph/generated/security/identities/health_issues/health_issues_request_builder.py create mode 100644 msgraph/generated/security/identities/health_issues/item/health_issue_item_request_builder.py create mode 100644 msgraph/generated/security/identities/identities_request_builder.py diff --git a/msgraph/generated/chats/item/messages/messages_request_builder.py b/msgraph/generated/chats/item/messages/messages_request_builder.py index 1cd00ab69f7..6e8974ae400 100644 --- a/msgraph/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph/generated/chats/item/messages/messages_request_builder.py @@ -70,11 +70,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 chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or 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/chat-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ if not body: 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: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or 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/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py index 772b8fd8607..4be88bfcc43 100644 --- a/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -56,7 +56,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. 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/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index 16cb55a980e..5be6b2450df 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]: """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 """ 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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsInformationProtection object. + Read properties and relationships of the managedAppPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 441944531bc..366e81b4637 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. 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 ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppPolicy objects. + List properties and relationships of the managedAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index 5f785129780..b2485b487d6 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_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[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]: """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistration] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosManagedAppRegistration object. + Read properties and relationships of the androidManagedAppRegistration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py index af3a2f0d0cc..4edbfd38e0e 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistrationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp @dataclass class ManagedAppRegistrationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py index 0d39308f284..8d2a531e6f4 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]: """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatusCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. 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 ManagedAppStatusesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppStatusRaw objects. + List properties and relationships of the managedAppStatus objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index b6ac0887f42..587ec7451ab 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]: """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. 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 AssignmentsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedEBookAssignment objects. + List properties and relationships of the iosVppEBookAssignment objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 3cd58137cc9..3a8f4e1e0a1 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 """ if not body: 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: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment 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/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py index 76f38ad6eed..295308c45ab 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfiguration]: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -210,7 +210,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfigur @dataclass class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index 08f4f3c4126..bbf04b44343 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -50,10 +50,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a win32LobApp. + Deletes a iosVppApp. 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/intune-apps-win32lobapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -69,10 +69,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the mobileApp object. + Read properties and relationships of the windowsAppX object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-mobileapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsappx-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,11 +90,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a iosVppApp object. + Update the properties of a webApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-webapp-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -114,7 +114,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a win32LobApp. + Deletes a iosVppApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the mobileApp object. + Read properties and relationships of the windowsAppX object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosVppApp object. + Update the properties of a webApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -340,7 +340,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the mobileApp object. + Read properties and relationships of the windowsAppX object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index a1a4f26f209..9c6ec910e36 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -48,10 +48,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the androidWorkProfileCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new iosCompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the androidWorkProfileCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosCompliancePolicy object. + Create a new windows10CompliancePolicy object. param body: The request body 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 DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidWorkProfileCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index 74fb47f348b..170623aa72d 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windows10CompliancePolicy. + Deletes a iosCompliancePolicy. 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/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a windows10CompliancePolicy object. + Update the properties of a windowsPhone81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windows10CompliancePolicy. + Deletes a iosCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windows10CompliancePolicy object. + Update the properties of a windowsPhone81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the androidCompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index 32755f1a1f4..b7550b1ec08 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the windowsUpdateForBusinessConfiguration objects. + List properties and relationships of the windowsPhone81CustomConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new windows10GeneralConfiguration object. + Create a new androidCustomConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-create?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windowsUpdateForBusinessConfiguration objects. + List properties and relationships of the windowsPhone81CustomConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windows10GeneralConfiguration object. + Create a new androidCustomConfiguration object. param body: The request body 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 DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windowsUpdateForBusinessConfiguration objects. + List properties and relationships of the windowsPhone81CustomConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index 9fa5e88a559..5aaccfe2f81 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -39,10 +39,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windowsDefenderAdvancedThreatProtectionConfiguration. + Deletes a macOSGeneralDeviceConfiguration. 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/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the macOSDeviceFeaturesConfiguration object. + Read properties and relationships of the windows10SecureAssessmentConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a windows10SecureAssessmentConfiguration object. + Update the properties of a windows10TeamGeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windowsDefenderAdvancedThreatProtectionConfiguration. + Deletes a macOSGeneralDeviceConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the macOSDeviceFeaturesConfiguration object. + Read properties and relationships of the windows10SecureAssessmentConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windows10SecureAssessmentConfiguration object. + Update the properties of a windows10TeamGeneralConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the macOSDeviceFeaturesConfiguration object. + Read properties and relationships of the windows10SecureAssessmentConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index f0c2e0ada40..84a1d4b1d29 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body 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 DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index c5027cfa2d9..7b04b5c5c75 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_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[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + Update the properties of a deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + Update the properties of a deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -180,7 +180,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index dbf14addd9f..5eab84c57e4 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -95,7 +95,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -129,7 +129,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-raimportcerts-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 0946d628df3..8298ae81ff5 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition 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/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index 354a738d189..3ed7dc6b874 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -48,10 +48,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. 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 RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 602cce5fcf1..7d74a151c4a 100644 --- a/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -70,11 +70,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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -116,7 +116,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/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py index ea5308be69a..bf827bd8c9c 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartDataLabels]: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartDataLabels] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class DataLabelsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Qu @dataclass class DataLabelsRequestBuilderGetQueryParameters(): """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py index 47d7d892f98..d8759345ad4 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartTitle]: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartTitle] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryPa @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/data_labels/data_labels_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/data_labels/data_labels_request_builder.py index e6f5e95ded4..84321021999 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/data_labels/data_labels_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/data_labels/data_labels_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartDataLabels]: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartDataLabels] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class DataLabelsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Qu @dataclass class DataLabelsRequestBuilderGetQueryParameters(): """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/title/title_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/title/title_request_builder.py index b075893c0c2..b38aa2ff0a9 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/title/title_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/title/title_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartTitle]: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartTitle] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryPa @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/data_labels/data_labels_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/data_labels/data_labels_request_builder.py index 644b56d2196..189d6111ca7 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/data_labels/data_labels_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/data_labels/data_labels_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartDataLabels]: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartDataLabels] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DataLabelsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class DataLabelsRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Qu @dataclass class DataLabelsRequestBuilderGetQueryParameters(): """ - Represents the datalabels on the chart. Read-only. + Represents the data labels on the chart. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/title/title_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/title/title_request_builder.py index b4627b48f59..c1246fd66f1 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/title/title_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/title/title_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> Optional[WorkbookChartTitle]: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartTitle] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TitleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryPa @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/groups_request_builder.py b/msgraph/generated/groups/groups_request_builder.py index 983e66b97de..89ce6eca3e8 100644 --- a/msgraph/generated/groups/groups_request_builder.py +++ b/msgraph/generated/groups/groups_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupsRe async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 """ if not body: 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: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. 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/generated/groups/item/conversations/conversations_request_builder.py b/msgraph/generated/groups/item/conversations/conversations_request_builder.py index 58e5fd5444f..48d63c8cd3a 100644 --- a/msgraph/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph/generated/groups/item/conversations/conversations_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Use reply thread or reply post to further post to that conversation. 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/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index fd9696840ff..63b3cffe512 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. 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/group-delete-conversation?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 """ 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[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - The group's conversations. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -83,7 +83,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The group's conversations. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - The group's conversations. + Retrieve the properties and relationships of conversation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index 572665879ee..cb5163cfc2a 100644 --- a/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body 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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. 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/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index 3a8b64b8654..d47145eae28 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -47,10 +47,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py index 7f97cadf60d..36610fc9ef9 100644 --- a/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -31,11 +31,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body 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/opentypeextension-post-opentypeextension?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +53,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. 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/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 38f78720f62..d8fe6089ddf 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,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 countryNamedLocation 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/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,10 +50,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 an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation 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/ipnamedlocation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,11 +71,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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,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 countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,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 an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,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 @@ -150,7 +150,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. + Retrieve the properties and relationships of a namedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 1e1b0fb5833..a4f99bab601 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -57,10 +57,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -220,7 +220,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 3d47408e86a..c85fb3c01ae 100644 --- a/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_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[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 """ 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[CustomCalloutExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index 99d71cfb69d..d565de32566 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_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[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 """ 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[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 555356c8efb..0de602438a9 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "EAE74593D4BFB666C53D9ED29D1BF17C2642A547B5D1FF2819F620EEE2F8D958AF29232D5F1FA190BEB63694D2888A8EB7DE7D0565961335865F4C565B5AB4CB", + "descriptionHash": "41F46A61AB97C2B4FC18FF278DE999CCC43513B3ECB606FA2794C7330CF3049A4B6E69CBB4661E648C24B1A962436A4607A98CDC72C8752725EA02A1ECAF128D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.15.0", diff --git a/msgraph/generated/models/activity_history_item.py b/msgraph/generated/models/activity_history_item.py index 2db7bd91ac4..c311c98ea47 100644 --- a/msgraph/generated/models/activity_history_item.py +++ b/msgraph/generated/models/activity_history_item.py @@ -19,15 +19,15 @@ class ActivityHistoryItem(Entity): activity: Optional[UserActivity] = None # Set by the server. DateTime in UTC when the object was created on the server. created_date_time: Optional[datetime.datetime] = None - # Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + # Optional. UTC DateTime when the activityHistoryItem will undergo hard-delete. Can be set by the client. expiration_date_time: Optional[datetime.datetime] = None - # Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + # Optional. UTC DateTime when the activityHistoryItem (activity session) was last understood as active or finished - if null, activityHistoryItem status should be Ongoing. last_active_date_time: Optional[datetime.datetime] = None # Set by the server. DateTime in UTC when the object was modified on the server. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + # Required. UTC DateTime when the activityHistoryItem (activity session) was started. Required for timeline history. started_date_time: Optional[datetime.datetime] = None # Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. status: Optional[Status] = None diff --git a/msgraph/generated/models/booking_question_assignment.py b/msgraph/generated/models/booking_question_assignment.py index fc1783cd7b9..3eb9d6359f2 100644 --- a/msgraph/generated/models/booking_question_assignment.py +++ b/msgraph/generated/models/booking_question_assignment.py @@ -11,11 +11,11 @@ class BookingQuestionAssignment(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) - # The ID of the custom question. + # Indicates whether it's mandatory to answer the custom question. is_required: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # Indicates whether it's mandatory to answer the custom question. + # The ID of the custom question. question_id: Optional[str] = None @staticmethod diff --git a/msgraph/generated/models/content_customization.py b/msgraph/generated/models/content_customization.py new file mode 100644 index 00000000000..78b34b834ed --- /dev/null +++ b/msgraph/generated/models/content_customization.py @@ -0,0 +1,72 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .key_value import KeyValue + +@dataclass +class ContentCustomization(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) + # Represents the content options of External Identities to be customized throughout the authentication flow for a tenant. + attribute_collection: Optional[List[KeyValue]] = None + # A relative URL for the content options of External Identities to be customized throughout the authentication flow for a tenant. + attribute_collection_relative_url: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The registrationCampaign property + registration_campaign: Optional[List[KeyValue]] = None + # The registrationCampaignRelativeUrl property + registration_campaign_relative_url: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ContentCustomization: + """ + 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: ContentCustomization + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ContentCustomization() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .key_value import KeyValue + + from .key_value import KeyValue + + fields: Dict[str, Callable[[Any], None]] = { + "attributeCollection": lambda n : setattr(self, 'attribute_collection', n.get_collection_of_object_values(KeyValue)), + "attributeCollectionRelativeUrl": lambda n : setattr(self, 'attribute_collection_relative_url', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "registrationCampaign": lambda n : setattr(self, 'registration_campaign', n.get_collection_of_object_values(KeyValue)), + "registrationCampaignRelativeUrl": lambda n : setattr(self, 'registration_campaign_relative_url', n.get_str_value()), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attributeCollection", self.attribute_collection) + writer.write_str_value("attributeCollectionRelativeUrl", self.attribute_collection_relative_url) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_object_values("registrationCampaign", self.registration_campaign) + writer.write_str_value("registrationCampaignRelativeUrl", self.registration_campaign_relative_url) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index 3467bfd5569..a83a924a2aa 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -617,6 +617,7 @@ from .security.file_plan_descriptor import FilePlanDescriptor from .security.file_plan_descriptor_template import FilePlanDescriptorTemplate from .security.file_plan_reference_template import FilePlanReferenceTemplate + from .security.health_issue import HealthIssue from .security.host import Host from .security.hostname import Hostname from .security.host_component import HostComponent @@ -626,6 +627,7 @@ from .security.host_reputation import HostReputation from .security.host_ssl_certificate import HostSslCertificate from .security.host_tracker import HostTracker + from .security.identity_container import IdentityContainer from .security.incident import Incident from .security.indicator import Indicator from .security.intelligence_profile import IntelligenceProfile @@ -2171,6 +2173,7 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: return IdentityBuiltInUserFlowAttribute() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityContainer".casefold(): from .identity_container import IdentityContainer + from .security.identity_container import IdentityContainer return IdentityContainer() if mapping_value and mapping_value.casefold() == "#microsoft.graph.identityCustomUserFlowAttribute".casefold(): @@ -3384,6 +3387,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .security.file_plan_reference_template import FilePlanReferenceTemplate return FilePlanReferenceTemplate() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.healthIssue".casefold(): + from .security.health_issue import HealthIssue + + return HealthIssue() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.host".casefold(): from .security.host import Host @@ -3420,6 +3427,11 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .security.host_tracker import HostTracker return HostTracker() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.identityContainer".casefold(): + from .identity_container import IdentityContainer + from .security.identity_container import IdentityContainer + + return IdentityContainer() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.incident".casefold(): from .security.incident import Incident @@ -5136,6 +5148,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.file_plan_descriptor import FilePlanDescriptor from .security.file_plan_descriptor_template import FilePlanDescriptorTemplate from .security.file_plan_reference_template import FilePlanReferenceTemplate + from .security.health_issue import HealthIssue from .security.host import Host from .security.hostname import Hostname from .security.host_component import HostComponent @@ -5145,6 +5158,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.host_reputation import HostReputation from .security.host_ssl_certificate import HostSslCertificate from .security.host_tracker import HostTracker + from .security.identity_container import IdentityContainer from .security.incident import Incident from .security.indicator import Indicator from .security.intelligence_profile import IntelligenceProfile @@ -6033,6 +6047,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.file_plan_descriptor import FilePlanDescriptor from .security.file_plan_descriptor_template import FilePlanDescriptorTemplate from .security.file_plan_reference_template import FilePlanReferenceTemplate + from .security.health_issue import HealthIssue from .security.host import Host from .security.hostname import Hostname from .security.host_component import HostComponent @@ -6042,6 +6057,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.host_reputation import HostReputation from .security.host_ssl_certificate import HostSslCertificate from .security.host_tracker import HostTracker + from .security.identity_container import IdentityContainer from .security.incident import Incident from .security.indicator import Indicator from .security.intelligence_profile import IntelligenceProfile diff --git a/msgraph/generated/models/organizational_branding_properties.py b/msgraph/generated/models/organizational_branding_properties.py index a22b74e9c81..3b6a3195b62 100644 --- a/msgraph/generated/models/organizational_branding_properties.py +++ b/msgraph/generated/models/organizational_branding_properties.py @@ -4,6 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .content_customization import ContentCustomization from .entity import Entity from .login_page_layout_configuration import LoginPageLayoutConfiguration from .login_page_text_visibility_settings import LoginPageTextVisibilitySettings @@ -26,6 +27,8 @@ class OrganizationalBrandingProperties(Entity): banner_logo_relative_url: Optional[str] = None # A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. cdn_list: Optional[List[str]] = None + # The contentCustomization property + content_customization: Optional[ContentCustomization] = None # A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. custom_account_reset_credentials_url: Optional[str] = None # CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. @@ -105,12 +108,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 .content_customization import ContentCustomization from .entity import Entity from .login_page_layout_configuration import LoginPageLayoutConfiguration from .login_page_text_visibility_settings import LoginPageTextVisibilitySettings from .organizational_branding import OrganizationalBranding from .organizational_branding_localization import OrganizationalBrandingLocalization + from .content_customization import ContentCustomization from .entity import Entity from .login_page_layout_configuration import LoginPageLayoutConfiguration from .login_page_text_visibility_settings import LoginPageTextVisibilitySettings @@ -124,6 +129,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "bannerLogo": lambda n : setattr(self, 'banner_logo', n.get_bytes_value()), "bannerLogoRelativeUrl": lambda n : setattr(self, 'banner_logo_relative_url', n.get_str_value()), "cdnList": lambda n : setattr(self, 'cdn_list', n.get_collection_of_primitive_values(str)), + "contentCustomization": lambda n : setattr(self, 'content_customization', n.get_object_value(ContentCustomization)), "customAccountResetCredentialsUrl": lambda n : setattr(self, 'custom_account_reset_credentials_url', n.get_str_value()), "customCSS": lambda n : setattr(self, 'custom_c_s_s', n.get_bytes_value()), "customCSSRelativeUrl": lambda n : setattr(self, 'custom_c_s_s_relative_url', n.get_str_value()), @@ -168,6 +174,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bytes_value("bannerLogo", self.banner_logo) writer.write_str_value("bannerLogoRelativeUrl", self.banner_logo_relative_url) writer.write_collection_of_primitive_values("cdnList", self.cdn_list) + writer.write_object_value("contentCustomization", self.content_customization) writer.write_str_value("customAccountResetCredentialsUrl", self.custom_account_reset_credentials_url) writer.write_bytes_value("customCSS", self.custom_c_s_s) writer.write_str_value("customCSSRelativeUrl", self.custom_c_s_s_relative_url) diff --git a/msgraph/generated/models/print_finishing.py b/msgraph/generated/models/print_finishing.py index bc5689c2559..5ab5bbeee39 100644 --- a/msgraph/generated/models/print_finishing.py +++ b/msgraph/generated/models/print_finishing.py @@ -21,4 +21,50 @@ class PrintFinishing(str, Enum): StapleDualRight = "stapleDualRight", StapleDualBottom = "stapleDualBottom", UnknownFutureValue = "unknownFutureValue", + StapleTripleLeft = "stapleTripleLeft", + StapleTripleTop = "stapleTripleTop", + StapleTripleRight = "stapleTripleRight", + StapleTripleBottom = "stapleTripleBottom", + BindLeft = "bindLeft", + BindTop = "bindTop", + BindRight = "bindRight", + BindBottom = "bindBottom", + FoldAccordion = "foldAccordion", + FoldDoubleGate = "foldDoubleGate", + FoldGate = "foldGate", + FoldHalf = "foldHalf", + FoldHalfZ = "foldHalfZ", + FoldLeftGate = "foldLeftGate", + FoldLetter = "foldLetter", + FoldParallel = "foldParallel", + FoldPoster = "foldPoster", + FoldRightGate = "foldRightGate", + FoldZ = "foldZ", + FoldEngineeringZ = "foldEngineeringZ", + PunchTopLeft = "punchTopLeft", + PunchBottomLeft = "punchBottomLeft", + PunchTopRight = "punchTopRight", + PunchBottomRight = "punchBottomRight", + PunchDualLeft = "punchDualLeft", + PunchDualTop = "punchDualTop", + PunchDualRight = "punchDualRight", + PunchDualBottom = "punchDualBottom", + PunchTripleLeft = "punchTripleLeft", + PunchTripleTop = "punchTripleTop", + PunchTripleRight = "punchTripleRight", + PunchTripleBottom = "punchTripleBottom", + PunchQuadLeft = "punchQuadLeft", + PunchQuadTop = "punchQuadTop", + PunchQuadRight = "punchQuadRight", + PunchQuadBottom = "punchQuadBottom", + Fold = "fold", + Trim = "trim", + Bale = "bale", + BookletMaker = "bookletMaker", + Coat = "coat", + Laminate = "laminate", + TrimAfterPages = "trimAfterPages", + TrimAfterDocuments = "trimAfterDocuments", + TrimAfterCopies = "trimAfterCopies", + TrimAfterJob = "trimAfterJob", diff --git a/msgraph/generated/models/security/health_issue.py b/msgraph/generated/models/security/health_issue.py new file mode 100644 index 00000000000..4dc0ad832c1 --- /dev/null +++ b/msgraph/generated/models/security/health_issue.py @@ -0,0 +1,114 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .health_issue_severity import HealthIssueSeverity + from .health_issue_status import HealthIssueStatus + from .health_issue_type import HealthIssueType + +from ..entity import Entity + +@dataclass +class HealthIssue(Entity): + # The additionalInformation property + additional_information: Optional[List[str]] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None + # The description property + description: Optional[str] = None + # The displayName property + display_name: Optional[str] = None + # The domainNames property + domain_names: Optional[List[str]] = None + # The healthIssueType property + health_issue_type: Optional[HealthIssueType] = None + # The issueTypeId property + issue_type_id: Optional[str] = None + # The lastModifiedDateTime property + last_modified_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The recommendations property + recommendations: Optional[List[str]] = None + # The recommendedActionCommands property + recommended_action_commands: Optional[List[str]] = None + # The sensorDNSNames property + sensor_d_n_s_names: Optional[List[str]] = None + # The severity property + severity: Optional[HealthIssueSeverity] = None + # The status property + status: Optional[HealthIssueStatus] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HealthIssue: + """ + 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: HealthIssue + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return HealthIssue() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .health_issue_severity import HealthIssueSeverity + from .health_issue_status import HealthIssueStatus + from .health_issue_type import HealthIssueType + + from ..entity import Entity + from .health_issue_severity import HealthIssueSeverity + from .health_issue_status import HealthIssueStatus + from .health_issue_type import HealthIssueType + + fields: Dict[str, Callable[[Any], None]] = { + "additionalInformation": lambda n : setattr(self, 'additional_information', n.get_collection_of_primitive_values(str)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "domainNames": lambda n : setattr(self, 'domain_names', n.get_collection_of_primitive_values(str)), + "healthIssueType": lambda n : setattr(self, 'health_issue_type', n.get_enum_value(HealthIssueType)), + "issueTypeId": lambda n : setattr(self, 'issue_type_id', n.get_str_value()), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), + "recommendations": lambda n : setattr(self, 'recommendations', n.get_collection_of_primitive_values(str)), + "recommendedActionCommands": lambda n : setattr(self, 'recommended_action_commands', n.get_collection_of_primitive_values(str)), + "sensorDNSNames": lambda n : setattr(self, 'sensor_d_n_s_names', n.get_collection_of_primitive_values(str)), + "severity": lambda n : setattr(self, 'severity', n.get_enum_value(HealthIssueSeverity)), + "status": lambda n : setattr(self, 'status', n.get_enum_value(HealthIssueStatus)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("additionalInformation", self.additional_information) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("description", self.description) + writer.write_str_value("displayName", self.display_name) + writer.write_collection_of_primitive_values("domainNames", self.domain_names) + writer.write_enum_value("healthIssueType", self.health_issue_type) + writer.write_str_value("issueTypeId", self.issue_type_id) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + writer.write_collection_of_primitive_values("recommendations", self.recommendations) + writer.write_collection_of_primitive_values("recommendedActionCommands", self.recommended_action_commands) + writer.write_collection_of_primitive_values("sensorDNSNames", self.sensor_d_n_s_names) + writer.write_enum_value("severity", self.severity) + writer.write_enum_value("status", self.status) + + diff --git a/msgraph/generated/models/security/health_issue_collection_response.py b/msgraph/generated/models/security/health_issue_collection_response.py new file mode 100644 index 00000000000..f9629661821 --- /dev/null +++ b/msgraph/generated/models/security/health_issue_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .health_issue import HealthIssue + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class HealthIssueCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[HealthIssue]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> HealthIssueCollectionResponse: + """ + 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: HealthIssueCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return HealthIssueCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .health_issue import HealthIssue + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .health_issue import HealthIssue + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(HealthIssue)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/models/security/health_issue_severity.py b/msgraph/generated/models/security/health_issue_severity.py new file mode 100644 index 00000000000..1348cff233e --- /dev/null +++ b/msgraph/generated/models/security/health_issue_severity.py @@ -0,0 +1,8 @@ +from enum import Enum + +class HealthIssueSeverity(str, Enum): + Low = "low", + Medium = "medium", + High = "high", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/security/health_issue_status.py b/msgraph/generated/models/security/health_issue_status.py new file mode 100644 index 00000000000..26fef8460fc --- /dev/null +++ b/msgraph/generated/models/security/health_issue_status.py @@ -0,0 +1,8 @@ +from enum import Enum + +class HealthIssueStatus(str, Enum): + Open = "open", + Closed = "closed", + Suppressed = "suppressed", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/security/health_issue_type.py b/msgraph/generated/models/security/health_issue_type.py new file mode 100644 index 00000000000..a6e3a212654 --- /dev/null +++ b/msgraph/generated/models/security/health_issue_type.py @@ -0,0 +1,7 @@ +from enum import Enum + +class HealthIssueType(str, Enum): + Sensor = "sensor", + Global_ = "global", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/security/identity_container.py b/msgraph/generated/models/security/identity_container.py new file mode 100644 index 00000000000..2ac1548e161 --- /dev/null +++ b/msgraph/generated/models/security/identity_container.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .health_issue import HealthIssue + +from ..entity import Entity + +@dataclass +class IdentityContainer(Entity): + # The healthIssues property + health_issues: Optional[List[HealthIssue]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> IdentityContainer: + """ + 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: IdentityContainer + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return IdentityContainer() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .health_issue import HealthIssue + + from ..entity import Entity + from .health_issue import HealthIssue + + fields: Dict[str, Callable[[Any], None]] = { + "healthIssues": lambda n : setattr(self, 'health_issues', n.get_collection_of_object_values(HealthIssue)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("healthIssues", self.health_issues) + + diff --git a/msgraph/generated/models/security/security.py b/msgraph/generated/models/security/security.py index 7ab92bada29..016853908fb 100644 --- a/msgraph/generated/models/security/security.py +++ b/msgraph/generated/models/security/security.py @@ -12,6 +12,7 @@ from ..subject_rights_request import SubjectRightsRequest from .alert import Alert from .cases_root import CasesRoot + from .identity_container import IdentityContainer from .incident import Incident from .labels_root import LabelsRoot from .threat_intelligence import ThreatIntelligence @@ -30,6 +31,8 @@ class Security(Entity): attack_simulation: Optional[AttackSimulationRoot] = None # The cases property cases: Optional[CasesRoot] = None + # The identities property + identities: Optional[IdentityContainer] = None # A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. incidents: Optional[List[Incident]] = None # The labels property @@ -73,6 +76,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..subject_rights_request import SubjectRightsRequest from .alert import Alert from .cases_root import CasesRoot + from .identity_container import IdentityContainer from .incident import Incident from .labels_root import LabelsRoot from .threat_intelligence import ThreatIntelligence @@ -87,6 +91,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..subject_rights_request import SubjectRightsRequest from .alert import Alert from .cases_root import CasesRoot + from .identity_container import IdentityContainer from .incident import Incident from .labels_root import LabelsRoot from .threat_intelligence import ThreatIntelligence @@ -98,6 +103,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "alerts_v2": lambda n : setattr(self, 'alerts_v2', n.get_collection_of_object_values(Alert)), "attackSimulation": lambda n : setattr(self, 'attack_simulation', n.get_object_value(AttackSimulationRoot)), "cases": lambda n : setattr(self, 'cases', n.get_object_value(CasesRoot)), + "identities": lambda n : setattr(self, 'identities', n.get_object_value(IdentityContainer)), "incidents": lambda n : setattr(self, 'incidents', n.get_collection_of_object_values(Incident)), "labels": lambda n : setattr(self, 'labels', n.get_object_value(LabelsRoot)), "secureScoreControlProfiles": lambda n : setattr(self, 'secure_score_control_profiles', n.get_collection_of_object_values(SecureScoreControlProfile)), @@ -124,6 +130,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("alerts_v2", self.alerts_v2) writer.write_object_value("attackSimulation", self.attack_simulation) writer.write_object_value("cases", self.cases) + writer.write_object_value("identities", self.identities) writer.write_collection_of_object_values("incidents", self.incidents) writer.write_object_value("labels", self.labels) writer.write_collection_of_object_values("secureScoreControlProfiles", self.secure_score_control_profiles) diff --git a/msgraph/generated/models/unified_role_assignment.py b/msgraph/generated/models/unified_role_assignment.py index ff032984f6b..a79d8b509e3 100644 --- a/msgraph/generated/models/unified_role_assignment.py +++ b/msgraph/generated/models/unified_role_assignment.py @@ -13,9 +13,9 @@ @dataclass class UnifiedRoleAssignment(Entity): - # Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + # Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. app_scope: Optional[AppScope] = None - # Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'. + # Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog. For example, /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example, /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'. app_scope_id: Optional[str] = None # The condition property condition: Optional[str] = None diff --git a/msgraph/generated/models/workbook_chart.py b/msgraph/generated/models/workbook_chart.py index c9cf68a2578..3bd7ce73164 100644 --- a/msgraph/generated/models/workbook_chart.py +++ b/msgraph/generated/models/workbook_chart.py @@ -19,7 +19,7 @@ class WorkbookChart(Entity): # Represents chart axes. Read-only. axes: Optional[WorkbookChartAxes] = None - # Represents the datalabels on the chart. Read-only. + # Represents the data labels on the chart. Read-only. data_labels: Optional[WorkbookChartDataLabels] = None # Encapsulates the format properties for the chart area. Read-only. format: Optional[WorkbookChartAreaFormat] = None @@ -35,7 +35,7 @@ class WorkbookChart(Entity): odata_type: Optional[str] = None # Represents either a single series or collection of series in the chart. Read-only. series: Optional[List[WorkbookChartSeries]] = None - # Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + # Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only. title: Optional[WorkbookChartTitle] = None # Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). top: Optional[float] = None diff --git a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index 7d59d396963..99445bc4b3c 100644 --- a/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> bytes: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes - Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index d0f8e609a0e..4c9eadc7816 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -79,11 +79,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Organiza async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a organization object. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. 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/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index a833db3616a..5f12486e672 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. 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/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py index 06fe920354c..4147090b477 100644 --- a/msgraph/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppScopeRequestBuilderGetQueryParameters]] = None) -> Optional[AppScope]: """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppScopeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class AppScopeRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class AppScopeRequestBuilderGetQueryParameters(): """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py index 092eec73069..21a94dfcd4d 100644 --- a/msgraph/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppScopeRequestBuilderGetQueryParameters]] = None) -> Optional[AppScope]: """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppScopeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class AppScopeRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class AppScopeRequestBuilderGetQueryParameters(): """ - Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. + Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/security/identities/health_issues/count/count_request_builder.py b/msgraph/generated/security/identities/health_issues/count/count_request_builder.py new file mode 100644 index 00000000000..5db2f9fcbd0 --- /dev/null +++ b/msgraph/generated/security/identities/health_issues/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +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, Callable, Dict, List, 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}/security/identities/healthIssues/$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, 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 not raw_url: + 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 not original_name: + 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/generated/security/identities/health_issues/health_issues_request_builder.py b/msgraph/generated/security/identities/health_issues/health_issues_request_builder.py new file mode 100644 index 00000000000..c8e5579e137 --- /dev/null +++ b/msgraph/generated/security/identities/health_issues/health_issues_request_builder.py @@ -0,0 +1,207 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.security.health_issue import HealthIssue + from ....models.security.health_issue_collection_response import HealthIssueCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.health_issue_item_request_builder import HealthIssueItemRequestBuilder + +class HealthIssuesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HealthIssuesRequestBuilder 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}/security/identities/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_health_issue_id(self,health_issue_id: str) -> HealthIssueItemRequestBuilder: + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity. + param health_issue_id: The unique identifier of healthIssue + Returns: HealthIssueItemRequestBuilder + """ + if not health_issue_id: + raise TypeError("health_issue_id cannot be null.") + from .item.health_issue_item_request_builder import HealthIssueItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["healthIssue%2Did"] = health_issue_id + return HealthIssueItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]] = None) -> Optional[HealthIssueCollectionResponse]: + """ + Get healthIssues from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssueCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.security.health_issue_collection_response import HealthIssueCollectionResponse + + return await self.request_adapter.send_async(request_info, HealthIssueCollectionResponse, error_mapping) + + async def post(self,body: HealthIssue, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HealthIssue]: + """ + Create new navigation property to healthIssues for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssue] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.security.health_issue import HealthIssue + + return await self.request_adapter.send_async(request_info, HealthIssue, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get healthIssues from security + 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 to_post_request_information(self,body: HealthIssue, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to healthIssues for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HealthIssuesRequestBuilder: + """ + 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: HealthIssuesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HealthIssuesRequestBuilder(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 HealthIssuesRequestBuilderGetQueryParameters(): + """ + Get healthIssues from security + """ + 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 not original_name: + 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 HealthIssuesRequestBuilderGetRequestConfiguration(RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class HealthIssuesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + 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/generated/security/identities/health_issues/item/health_issue_item_request_builder.py b/msgraph/generated/security/identities/health_issues/item/health_issue_item_request_builder.py new file mode 100644 index 00000000000..bc18a50f02a --- /dev/null +++ b/msgraph/generated/security/identities/health_issues/item/health_issue_item_request_builder.py @@ -0,0 +1,187 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.health_issue import HealthIssue + +class HealthIssueItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HealthIssueItemRequestBuilder 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}/security/identities/healthIssues/{healthIssue%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property healthIssues for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]] = None) -> Optional[HealthIssue]: + """ + Get healthIssues from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssue] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.security.health_issue import HealthIssue + + return await self.request_adapter.send_async(request_info, HealthIssue, error_mapping) + + async def patch(self,body: HealthIssue, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HealthIssue]: + """ + Update the navigation property healthIssues in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssue] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.security.health_issue import HealthIssue + + return await self.request_adapter.send_async(request_info, HealthIssue, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property healthIssues for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get healthIssues from security + 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 to_patch_request_information(self,body: HealthIssue, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property healthIssues in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> HealthIssueItemRequestBuilder: + """ + 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: HealthIssueItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HealthIssueItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class HealthIssueItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + 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) + + @dataclass + class HealthIssueItemRequestBuilderGetQueryParameters(): + """ + Get healthIssues from security + """ + 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 not original_name: + 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 HealthIssueItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class HealthIssueItemRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + 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/generated/security/identities/identities_request_builder.py b/msgraph/generated/security/identities/identities_request_builder.py new file mode 100644 index 00000000000..bc2a96778e8 --- /dev/null +++ b/msgraph/generated/security/identities/identities_request_builder.py @@ -0,0 +1,197 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.security.identity_container import IdentityContainer + from .health_issues.health_issues_request_builder import HealthIssuesRequestBuilder + +class IdentitiesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the identities property of the microsoft.graph.security entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new IdentitiesRequestBuilder 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}/security/identities{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete navigation property identities for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + async def get(self,request_configuration: Optional[RequestConfiguration[IdentitiesRequestBuilderGetQueryParameters]] = None) -> Optional[IdentityContainer]: + """ + Get identities from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[IdentityContainer] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.security.identity_container import IdentityContainer + + return await self.request_adapter.send_async(request_info, IdentityContainer, error_mapping) + + async def patch(self,body: IdentityContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IdentityContainer]: + """ + Update the navigation property identities in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[IdentityContainer] + """ + if not body: + raise TypeError("body cannot be null.") + request_info = self.to_patch_request_information( + body, request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.security.identity_container import IdentityContainer + + return await self.request_adapter.send_async(request_info, IdentityContainer, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete navigation property identities for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IdentitiesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get identities from security + 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 to_patch_request_information(self,body: IdentityContainer, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the navigation property identities in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> IdentitiesRequestBuilder: + """ + 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: IdentitiesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return IdentitiesRequestBuilder(self.request_adapter, raw_url) + + @property + def health_issues(self) -> HealthIssuesRequestBuilder: + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.identityContainer entity. + """ + from .health_issues.health_issues_request_builder import HealthIssuesRequestBuilder + + return HealthIssuesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class IdentitiesRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + 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) + + @dataclass + class IdentitiesRequestBuilderGetQueryParameters(): + """ + Get identities from security + """ + 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 not original_name: + 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 IdentitiesRequestBuilderGetRequestConfiguration(RequestConfiguration[IdentitiesRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class IdentitiesRequestBuilderPatchRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + 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/generated/security/security_request_builder.py b/msgraph/generated/security/security_request_builder.py index d6e6b07d5f0..171052676b9 100644 --- a/msgraph/generated/security/security_request_builder.py +++ b/msgraph/generated/security/security_request_builder.py @@ -19,6 +19,7 @@ from .alerts_v2.alerts_v2_request_builder import Alerts_v2RequestBuilder from .attack_simulation.attack_simulation_request_builder import AttackSimulationRequestBuilder from .cases.cases_request_builder import CasesRequestBuilder + from .identities.identities_request_builder import IdentitiesRequestBuilder from .incidents.incidents_request_builder import IncidentsRequestBuilder from .labels.labels_request_builder import LabelsRequestBuilder from .microsoft_graph_security_run_hunting_query.microsoft_graph_security_run_hunting_query_request_builder import MicrosoftGraphSecurityRunHuntingQueryRequestBuilder @@ -157,6 +158,15 @@ def cases(self) -> CasesRequestBuilder: return CasesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def identities(self) -> IdentitiesRequestBuilder: + """ + Provides operations to manage the identities property of the microsoft.graph.security entity. + """ + from .identities.identities_request_builder import IdentitiesRequestBuilder + + return IdentitiesRequestBuilder(self.request_adapter, self.path_parameters) + @property def incidents(self) -> IncidentsRequestBuilder: """ diff --git a/msgraph/generated/sites/sites_request_builder.py b/msgraph/generated/sites/sites_request_builder.py index 6d6e8420c49..797e9ef7602 100644 --- a/msgraph/generated/sites/sites_request_builder.py +++ b/msgraph/generated/sites/sites_request_builder.py @@ -51,10 +51,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - 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. + 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. 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-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - 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. + 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. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - 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. + 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. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 2d382e3bfd0..8a153d293d7 100644 --- a/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -31,10 +31,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 conversationMember from a channel. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/conversationmember-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: ConversationMember, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index 8d722ced712..4a6bfaefb82 100644 --- a/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -54,11 +54,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def put(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + Update the properties of a multitenant organization. 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/generated/users/item/activities/recent/recent_request_builder.py b/msgraph/generated/users/item/activities/recent/recent_request_builder.py index fc33478fe45..87fde67ff04 100644 --- a/msgraph/generated/users/item/activities/recent/recent_request_builder.py +++ b/msgraph/generated/users/item/activities/recent/recent_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def get(self,request_configuration: Optional[RequestConfiguration[RecentRequestBuilderGetQueryParameters]] = None) -> Optional[RecentGetResponse]: """ - Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. + Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecentGetResponse] Find more info here: https://learn.microsoft.com/graph/api/projectrome-get-recent-activities?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RecentRe def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecentRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. + Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> RecentRequestBuilder: @dataclass class RecentRequestBuilderGetQueryParameters(): """ - Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent historyItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. + Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index c41aaa5c7e0..9ddf0c5d079 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -106,10 +106,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -140,10 +140,10 @@ def export_device_and_app_management_data_with_skip_with_top(self,skip: int, top async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -161,11 +161,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UserItem async def patch(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. + Update the properties of a user object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -200,7 +200,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -211,7 +211,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -222,7 +222,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details. See Default user permissions in customer tenants for the list of properties they can update. + Update the properties of a user object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -912,7 +912,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the user object. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index 1ebea58f8ee..78b7ae31e06 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -52,10 +52,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - List properties and relationships of the user objects. + Retrieve a list of user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UsersReq async def post(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]: """ - Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + Create a new user object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the user objects. + Retrieve a list of user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. + Create a new user object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - List properties and relationships of the user objects. + Retrieve a list of user objects. """ def get_query_parameter(self,original_name: str) -> str: """ From 2a49f64566e5ad920b9cd3f30baf5fd2a7852f7b Mon Sep 17 00:00:00 2001 From: shemogumbe Date: Thu, 16 May 2024 14:13:08 +0300 Subject: [PATCH 2/2] update change log --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b616bba7dde..1224eecd11d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.0] - 2024-05-16 + +### Changed + +- Weekly generation with Kiota - 14th May 2024 + ## [1.4.0] - 2024-05-08 ### Changed