From cb03d0d1e76cf1d0df83c52292fade76e95067de Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 21 Jan 2025 13:28:27 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 177586 --- .../item/messages/messages_request_builder.py | 6 +- .../device_app_management_request_builder.py | 4 +- ...managed_app_policy_item_request_builder.py | 8 +- .../target_apps_request_builder.py | 2 +- .../target_apps_request_builder.py | 2 +- .../target_apps_request_builder.py | 2 +- ...d_app_registration_item_request_builder.py | 8 +- ...naged_app_registrations_request_builder.py | 8 +- ...managed_app_status_item_request_builder.py | 8 +- ..._e_book_assignment_item_request_builder.py | 6 +- .../managed_e_books_request_builder.py | 8 +- .../item/mobile_app_item_request_builder.py | 20 +-- .../mobile_apps_request_builder.py | 6 +- ...ice_compliance_policies_request_builder.py | 8 +- ..._compliance_policy_item_request_builder.py | 6 +- .../device_configurations_request_builder.py | 14 +- ...vice_configuration_item_request_builder.py | 6 +- ...rollment_configurations_request_builder.py | 14 +- ...ment_configuration_item_request_builder.py | 20 +-- .../device_management_request_builder.py | 4 +- .../role_definition_item_request_builder.py | 6 +- .../role_definitions_request_builder.py | 8 +- .../external_item_item_request_builder.py | 6 +- .../groups/groups_request_builder.py | 6 +- .../conversations_request_builder.py | 6 +- .../item/conversation_item_request_builder.py | 2 +- ...onversation_thread_item_request_builder.py | 8 +- .../item/posts/posts_request_builder.py | 8 +- .../named_location_item_request_builder.py | 8 +- .../access_package_item_request_builder.py | 8 +- ..._callout_extension_item_request_builder.py | 6 +- msgraph/generated/kiota-dom-export.txt | 126 +++++++++++++++ msgraph/generated/kiota-lock.json | 2 +- .../applied_conditional_access_policy.py | 2 +- msgraph/generated/models/channel.py | 2 +- msgraph/generated/models/chat.py | 4 + msgraph/generated/models/chat_message.py | 2 +- .../models/chat_message_attachment.py | 4 +- .../generated/models/chat_message_mention.py | 2 +- .../chat_message_mentioned_identity_set.py | 2 +- msgraph/generated/models/chat_restrictions.py | 54 +++++++ .../generated/models/cloud_pc_device_image.py | 2 +- .../cloud_pc_domain_join_configuration.py | 2 +- .../generated/models/education_assignment.py | 4 +- .../models/education_assignment_defaults.py | 2 +- .../generated/models/education_submission.py | 2 +- .../models/external_connectors/property_.py | 2 +- .../models/invited_user_message_info.py | 2 +- msgraph/generated/models/online_meeting.py | 4 + .../generated/models/online_meeting_base.py | 15 ++ msgraph/generated/models/payload.py | 2 +- .../models/planner_plan_container.py | 2 +- .../generated/models/restore_session_base.py | 2 +- msgraph/generated/models/risk_detection.py | 2 +- .../models/risk_service_principal_activity.py | 2 +- .../models/risky_service_principal.py | 2 +- msgraph/generated/models/risky_user.py | 2 +- msgraph/generated/models/search_request.py | 2 +- msgraph/generated/models/security/alert.py | 2 +- .../models/security/case_operation.py | 2 +- .../service_principal_risk_detection.py | 4 +- msgraph/generated/models/sign_in.py | 2 +- msgraph/generated/models/simulation.py | 2 +- .../models/subject_rights_request_history.py | 2 +- .../subject_rights_request_stage_detail.py | 2 +- msgraph/generated/models/virtual_event.py | 7 + .../virtual_event_external_information.py | 58 +++++++ ...event_external_registration_information.py | 58 +++++++ .../models/virtual_event_registration.py | 7 + .../generated/models/workforce_integration.py | 4 +- ...dentity_synchronization_request_builder.py | 6 +- .../lists/item/list_item_request_builder.py | 8 +- ...nal_event_information_post_request_body.py | 50 ++++++ ...ernal_event_information_request_builder.py | 86 +++++++++++ .../virtual_event_item_request_builder.py | 10 ++ ...ole_with_user_id_with_role_get_response.py | 58 +++++++ ..._with_user_id_with_role_request_builder.py | 143 ++++++++++++++++++ ...get_by_user_role_with_role_get_response.py | 58 +++++++ ..._by_user_role_with_role_request_builder.py | 141 +++++++++++++++++ .../townhalls/townhalls_request_builder.py | 29 ++++ .../item/members/members_request_builder.py | 6 +- .../item/messages/messages_request_builder.py | 6 +- ...lti_tenant_organization_request_builder.py | 6 +- .../users/item/user_item_request_builder.py | 16 +- .../generated/users/users_request_builder.py | 8 +- ...ith_user_principal_name_request_builder.py | 16 +- 86 files changed, 1094 insertions(+), 186 deletions(-) create mode 100644 msgraph/generated/models/chat_restrictions.py create mode 100644 msgraph/generated/models/virtual_event_external_information.py create mode 100644 msgraph/generated/models/virtual_event_external_registration_information.py create mode 100644 msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py create mode 100644 msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py create mode 100644 msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py create mode 100644 msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py create mode 100644 msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py create mode 100644 msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_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 d911248dd7b..82250e729ae 100644 --- a/msgraph/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph/generated/chats/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified 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. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified 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. 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/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index 15c7d4f3a07..87e7c940a85 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp Read properties and relationships of the deviceAppManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") 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 360da8cece5..199aca9678f 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 @@ -51,10 +51,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 managedAppProtection object. + Read properties and relationships of the windowsInformationProtection 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-managedappprotection-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppProtection object. + Read properties and relationships of the windowsInformationProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppPolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppProtection object. + Read properties and relationships of the windowsInformationProtection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index af58826db23..e08dd659657 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 81be8129c8e..4d5dcbe97ad 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 4bb2e293a8d..4980fb98081 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") 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 6f1fecc7940..12f7d9bb872 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 @@ -53,10 +53,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 androidManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration 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-androidmanagedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -108,7 +108,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 androidManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -179,7 +179,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the managedAppRegistration 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 47e45c025ff..03744166002 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 @@ -50,10 +50,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 androidManagedAppRegistration objects. + List properties and relationships of the iosManagedAppRegistration 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-androidmanagedappregistration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,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 androidManagedAppRegistration objects. + List properties and relationships of the iosManagedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp @dataclass class ManagedAppRegistrationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidManagedAppRegistration objects. + List properties and relationships of the iosManagedAppRegistration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py index 68c41edf0d6..46420cdf85f 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_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[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]: """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatus] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-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[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ManagedAppStatusItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAppStatusRaw object. + Read properties and relationships of the managedAppStatus object. """ 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 96b512a6e2d..d8a77ffd735 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 @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a iosVppEBookAssignment. + Deletes a managedEBookAssignment. 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-books-iosvppebookassignment-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: ManagedEBookAssignment, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosVppEBookAssignment. + Deletes a managedEBookAssignment. 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_e_books/managed_e_books_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index f994aa37717..b3b82e60b4f 100644 --- a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -49,10 +49,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedEBooksRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. """ 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 9cea2f5b24d..a36d6452dd5 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 @@ -51,10 +51,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 managedIOSStoreApp. + Deletes a microsoftStoreForBusinessApp. 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-managediosstoreapp-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -70,10 +70,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 iosStoreApp object. + Read properties and relationships of the windowsMicrosoftEdgeApp 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-iosstoreapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,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 windowsMicrosoftEdgeApp 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-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,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 managedIOSStoreApp. + Deletes a microsoftStoreForBusinessApp. 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[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosStoreApp object. + Read properties and relationships of the windowsMicrosoftEdgeApp 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: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosVppApp object. + Update the properties of a windowsMicrosoftEdgeApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -341,7 +341,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosStoreApp object. + Read properties and relationships of the windowsMicrosoftEdgeApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index e19f54b8678..5ebca7b5603 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -86,11 +86,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new androidLobApp object. + Create a new windowsMobileMSI 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-androidlobapp-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new androidLobApp object. + Create a new windowsMobileMSI 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/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 02304a6450a..087ee689785 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 @@ -49,10 +49,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 androidCompliancePolicy 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-androidcompliancepolicy-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 @@ -94,7 +94,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 androidCompliancePolicy 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 """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the androidCompliancePolicy 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 b04d7cef024..c01651cf690 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 @@ -81,11 +81,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 body is None: raise TypeError("body cannot be null.") @@ -127,7 +127,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 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 60e76b68b60..ed39abdffa8 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 @@ -49,10 +49,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 windows10SecureAssessmentConfiguration objects. + List properties and relationships of the deviceConfiguration 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-windows10secureassessmentconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,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 androidWorkProfileGeneralDeviceConfiguration object. + Create a new macOSDeviceFeaturesConfiguration 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-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,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 windows10SecureAssessmentConfiguration objects. + List properties and relationships of the deviceConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,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 androidWorkProfileGeneralDeviceConfiguration object. + Create a new macOSDeviceFeaturesConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windows10SecureAssessmentConfiguration objects. + List properties and relationships of the deviceConfiguration 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 80a5dbd3cd8..061890fedc1 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 @@ -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 sharedPCConfiguration. + Deletes a iosDeviceFeaturesConfiguration. 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-sharedpcconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -116,7 +116,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 sharedPCConfiguration. + Deletes a iosDeviceFeaturesConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ 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 ff3374672ef..73001d0fcde 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 @@ -49,10 +49,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 deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,11 +70,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 body is None: raise TypeError("body cannot be null.") @@ -94,7 +94,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 deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,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 @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 31934763a3d..adf220227ef 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 @@ -35,10 +35,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 deviceEnrollmentLimitConfiguration. + Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. 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-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -54,10 +54,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 deviceEnrollmentLimitConfiguration 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-deviceenrollmentlimitconfiguration-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 @@ -75,11 +75,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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-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 body is None: raise TypeError("body cannot be null.") @@ -99,7 +99,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentLimitConfiguration. + Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,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 deviceEnrollmentLimitConfiguration 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 """ @@ -121,7 +121,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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 @@ -181,7 +181,7 @@ class DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceEnrollmentLimitConfiguration 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 c50c233adeb..14ef23300d5 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -96,7 +96,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-remoteassistance-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 @@ -130,7 +130,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-notification-devicemanagement-update?view=graph-rest-1.0 """ if body is None: 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 53577934fed..367c6d10a92 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 @@ -73,11 +73,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 body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,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 f83627804d8..e6c26c2d35c 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 @@ -49,10 +49,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 roleDefinition objects. + List properties and relationships of the deviceAndAppManagementRoleDefinition 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-roledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,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 roleDefinition objects. + List properties and relationships of the deviceAndAppManagementRoleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the roleDefinition objects. + List properties and relationships of the deviceAndAppManagementRoleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py index 6076c2e43e7..657c2539c09 100644 --- a/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Update the properties of an externalItem object. + Create a new externalItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an externalItem object. + Create a new externalItem 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/groups/groups_request_builder.py b/msgraph/generated/groups/groups_request_builder.py index cb99a472d3b..8adfb9faca0 100644 --- a/msgraph/generated/groups/groups_request_builder.py +++ b/msgraph/generated/groups/groups_request_builder.py @@ -74,11 +74,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 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. + 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. 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-post-groups?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,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 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. + 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. 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 ccfa63a5ba9..cb5d6c61d56 100644 --- a/msgraph/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph/generated/groups/item/conversations/conversations_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Use reply thread or reply post to further post to that 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. 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/group-post-conversations?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Use reply thread or reply post to further post to that 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. 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 ddd48e08767..1a9dc0b9816 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 @@ -36,7 +36,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 diff --git a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 03414d83641..046334bfd07 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationThread]: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] - Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-get?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[ConversationThreadItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -171,7 +171,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a thread object. + Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index 3350700aed4..132fb64d858 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 @@ -48,10 +48,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 @@ -69,7 +69,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 """ @@ -100,7 +100,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/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 41a4e8cd815..59183b3c763 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 @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-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[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of an ipNamedLocation 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 14d5ce5187c..7f70f243e6d 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 @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - 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. + Retrieve the properties and relationships of an accessPackage object. 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-list-resourcerolescopes?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,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 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. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -221,7 +221,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - 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. + Retrieve the properties and relationships of an accessPackage object. """ 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 e65a38b25b3..c7f8627e738 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 @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: CustomCalloutExtension, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 86c3b29d79b..f8237199de6 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -99191,6 +99191,8 @@ msgraph.generated.models.Chat::|public|created_date_time(value:datetime.datetime msgraph.generated.models.Chat::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.Chat::|public|installed_apps():list[TeamsAppInstallation] msgraph.generated.models.Chat::|public|installed_apps(value:list[TeamsAppInstallation]):None +msgraph.generated.models.Chat::|public|is_hidden_for_all_members():bool +msgraph.generated.models.Chat::|public|is_hidden_for_all_members(value:bool):None msgraph.generated.models.Chat::|public|last_message_preview():ChatMessageInfo msgraph.generated.models.Chat::|public|last_message_preview(value:ChatMessageInfo):None msgraph.generated.models.Chat::|public|last_updated_date_time():datetime.datetime @@ -99509,6 +99511,18 @@ msgraph.generated.models.ChatRenamedEventMessageDetail::|public|initiator(value: msgraph.generated.models.ChatRenamedEventMessageDetail::|public|odata_type:str msgraph.generated.models.ChatRenamedEventMessageDetail::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.ChatRenamedEventMessageDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):ChatRenamedEventMessageDetail +msgraph.generated.models.ChatRestrictions::|public|additional_data():dict[str, Any] +msgraph.generated.models.ChatRestrictions::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.ChatRestrictions::|public|allow_text_only():bool +msgraph.generated.models.ChatRestrictions::|public|allow_text_only(value:bool):None +msgraph.generated.models.ChatRestrictions::|public|backing_store:BackingStore +msgraph.generated.models.ChatRestrictions::|public|constructor():None +msgraph.generated.models.ChatRestrictions::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.ChatRestrictions::|public|odata_type():str +msgraph.generated.models.ChatRestrictions::|public|odata_type(value:str):None +msgraph.generated.models.ChatRestrictions::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.ChatRestrictions::|static|public|create_from_discriminator_value(parse_node:ParseNode):ChatRestrictions +msgraph.generated.models.ChatRestrictions~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.ChatType::0000-OneOnOne msgraph.generated.models.ChatType::0001-Group msgraph.generated.models.ChatType::0002-Meeting @@ -114780,6 +114794,8 @@ msgraph.generated.models.OnlineMeeting::|public|external_id(value:str):None msgraph.generated.models.OnlineMeeting::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.OnlineMeeting::|public|is_broadcast():bool msgraph.generated.models.OnlineMeeting::|public|is_broadcast(value:bool):None +msgraph.generated.models.OnlineMeeting::|public|meeting_template_id():str +msgraph.generated.models.OnlineMeeting::|public|meeting_template_id(value:str):None msgraph.generated.models.OnlineMeeting::|public|odata_type:str msgraph.generated.models.OnlineMeeting::|public|participants():MeetingParticipants msgraph.generated.models.OnlineMeeting::|public|participants(value:MeetingParticipants):None @@ -114802,14 +114818,20 @@ msgraph.generated.models.OnlineMeetingBase::|public|allow_meeting_chat():Meeting msgraph.generated.models.OnlineMeetingBase::|public|allow_meeting_chat(value:MeetingChatMode):None msgraph.generated.models.OnlineMeetingBase::|public|allow_participants_to_change_name():bool msgraph.generated.models.OnlineMeetingBase::|public|allow_participants_to_change_name(value:bool):None +msgraph.generated.models.OnlineMeetingBase::|public|allow_recording():bool +msgraph.generated.models.OnlineMeetingBase::|public|allow_recording(value:bool):None msgraph.generated.models.OnlineMeetingBase::|public|allow_teamwork_reactions():bool msgraph.generated.models.OnlineMeetingBase::|public|allow_teamwork_reactions(value:bool):None +msgraph.generated.models.OnlineMeetingBase::|public|allow_transcription():bool +msgraph.generated.models.OnlineMeetingBase::|public|allow_transcription(value:bool):None msgraph.generated.models.OnlineMeetingBase::|public|attendance_reports():list[MeetingAttendanceReport] msgraph.generated.models.OnlineMeetingBase::|public|attendance_reports(value:list[MeetingAttendanceReport]):None msgraph.generated.models.OnlineMeetingBase::|public|audio_conferencing():AudioConferencing msgraph.generated.models.OnlineMeetingBase::|public|audio_conferencing(value:AudioConferencing):None msgraph.generated.models.OnlineMeetingBase::|public|chat_info():ChatInfo msgraph.generated.models.OnlineMeetingBase::|public|chat_info(value:ChatInfo):None +msgraph.generated.models.OnlineMeetingBase::|public|chat_restrictions():ChatRestrictions +msgraph.generated.models.OnlineMeetingBase::|public|chat_restrictions(value:ChatRestrictions):None msgraph.generated.models.OnlineMeetingBase::|public|constructor():None msgraph.generated.models.OnlineMeetingBase::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.OnlineMeetingBase::|public|is_entry_exit_announced():bool @@ -132868,6 +132890,8 @@ msgraph.generated.models.VirtualEvent::|public|display_name():str msgraph.generated.models.VirtualEvent::|public|display_name(value:str):None msgraph.generated.models.VirtualEvent::|public|end_date_time():DateTimeTimeZone msgraph.generated.models.VirtualEvent::|public|end_date_time(value:DateTimeTimeZone):None +msgraph.generated.models.VirtualEvent::|public|external_event_information():list[VirtualEventExternalInformation] +msgraph.generated.models.VirtualEvent::|public|external_event_information(value:list[VirtualEventExternalInformation]):None msgraph.generated.models.VirtualEvent::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] msgraph.generated.models.VirtualEvent::|public|odata_type:str msgraph.generated.models.VirtualEvent::|public|presenters():list[VirtualEventPresenter] @@ -132895,6 +132919,34 @@ msgraph.generated.models.VirtualEventCollectionResponse::|public|serialize(write msgraph.generated.models.VirtualEventCollectionResponse::|public|value():list[VirtualEvent] msgraph.generated.models.VirtualEventCollectionResponse::|public|value(value:list[VirtualEvent]):None msgraph.generated.models.VirtualEventCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):VirtualEventCollectionResponse +msgraph.generated.models.VirtualEventExternalInformation::|public|additional_data():dict[str, Any] +msgraph.generated.models.VirtualEventExternalInformation::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.VirtualEventExternalInformation::|public|application_id():str +msgraph.generated.models.VirtualEventExternalInformation::|public|application_id(value:str):None +msgraph.generated.models.VirtualEventExternalInformation::|public|backing_store:BackingStore +msgraph.generated.models.VirtualEventExternalInformation::|public|constructor():None +msgraph.generated.models.VirtualEventExternalInformation::|public|external_event_id():str +msgraph.generated.models.VirtualEventExternalInformation::|public|external_event_id(value:str):None +msgraph.generated.models.VirtualEventExternalInformation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VirtualEventExternalInformation::|public|odata_type():str +msgraph.generated.models.VirtualEventExternalInformation::|public|odata_type(value:str):None +msgraph.generated.models.VirtualEventExternalInformation::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VirtualEventExternalInformation::|static|public|create_from_discriminator_value(parse_node:ParseNode):VirtualEventExternalInformation +msgraph.generated.models.VirtualEventExternalInformation~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|additional_data():dict[str, Any] +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|backing_store:BackingStore +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|constructor():None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|odata_type():str +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|odata_type(value:str):None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|referrer():str +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|referrer(value:str):None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|registration_id():str +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|registration_id(value:str):None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.VirtualEventExternalRegistrationInformation::|static|public|create_from_discriminator_value(parse_node:ParseNode):VirtualEventExternalRegistrationInformation +msgraph.generated.models.VirtualEventExternalRegistrationInformation~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.VirtualEventPresenter-->Entity msgraph.generated.models.VirtualEventPresenter::|public|constructor():None msgraph.generated.models.VirtualEventPresenter::|public|email():str @@ -132952,6 +133004,8 @@ msgraph.generated.models.VirtualEventRegistration::|public|cancelation_date_time msgraph.generated.models.VirtualEventRegistration::|public|constructor():None msgraph.generated.models.VirtualEventRegistration::|public|email():str msgraph.generated.models.VirtualEventRegistration::|public|email(value:str):None +msgraph.generated.models.VirtualEventRegistration::|public|external_registration_information():VirtualEventExternalRegistrationInformation +msgraph.generated.models.VirtualEventRegistration::|public|external_registration_information(value:VirtualEventExternalRegistrationInformation):None msgraph.generated.models.VirtualEventRegistration::|public|first_name():str msgraph.generated.models.VirtualEventRegistration::|public|first_name(value:str):None msgraph.generated.models.VirtualEventRegistration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -169806,6 +169860,25 @@ msgraph.generated.solutions.virtualEvents.events.item.sessions.SessionsRequestBu msgraph.generated.solutions.virtualEvents.events.item.sessions.SessionsRequestBuilder::|public|to_post_request_information(body:VirtualEventSession; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.solutions.virtualEvents.events.item.sessions.SessionsRequestBuilder::|public|url_template:str msgraph.generated.solutions.virtualEvents.events.item.sessions.SessionsRequestBuilder::|public|with_url(raw_url:str):SessionsRequestBuilder +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|additional_data():dict[str, Any] +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|backing_store:BackingStore +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|constructor():None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|external_event_id():str +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|external_event_id(value:str):None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):SetExternalEventInformationPostRequestBody +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder-->BaseRequestBuilder +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder.SetExternalEventInformationRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|post(body:SetExternalEventInformationPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|to_post_request_information(body:SetExternalEventInformationPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|url_template:str +msgraph.generated.solutions.virtualEvents.events.item.setExternalEventInformation.SetExternalEventInformationRequestBuilder::|public|with_url(raw_url:str):SetExternalEventInformationRequestBuilder msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder-->BaseRequestBuilder msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder.VirtualEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder.VirtualEventItemRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -169823,6 +169896,7 @@ msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBui msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|publish:PublishRequestBuilder msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|request_adapter:RequestAdapter msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|sessions:SessionsRequestBuilder +msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|set_external_event_information:SetExternalEventInformationRequestBuilder msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[VirtualEventItemRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.solutions.virtualEvents.events.item.VirtualEventItemRequestBuilder::|public|to_patch_request_information(body:VirtualEvent; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -169840,6 +169914,56 @@ msgraph.generated.solutions.virtualEvents.townhalls.count.CountRequestBuilder::| msgraph.generated.solutions.virtualEvents.townhalls.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.solutions.virtualEvents.townhalls.count.CountRequestBuilder::|public|url_template:str msgraph.generated.solutions.virtualEvents.townhalls.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|constructor():None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|value():list[VirtualEventTownhall] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|value(value:list[VirtualEventTownhall]):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleGetResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetByUserIdAndRoleWithUserIdWithRoleGetResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder-->BaseRequestBuilder +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; role?:str; user_id?:str):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters]):GetByUserIdAndRoleWithUserIdWithRoleGetResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|url_template:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserIdAndRoleWithUserIdWithRole.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|with_url(raw_url:str):GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|public|constructor():None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|public|value():list[VirtualEventTownhall] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|public|value(value:list[VirtualEventTownhall]):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleGetResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):GetByUserRoleWithRoleGetResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder-->BaseRequestBuilder +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|expand:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|orderby:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|select:list[str] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration-->RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; role?:str):None +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|get(request_configuration?:RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters]):GetByUserRoleWithRoleGetResponse +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|url_template:str +msgraph.generated.solutions.virtualEvents.townhalls.getByUserRoleWithRole.GetByUserRoleWithRoleRequestBuilder::|public|with_url(raw_url:str):GetByUserRoleWithRoleRequestBuilder msgraph.generated.solutions.virtualEvents.townhalls.item.presenters.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.solutions.virtualEvents.townhalls.item.presenters.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.solutions.virtualEvents.townhalls.item.presenters.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str @@ -170090,6 +170214,8 @@ msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|pu msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|count:CountRequestBuilder msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[TownhallsRequestBuilderGetQueryParameters]):VirtualEventTownhallCollectionResponse +msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|get_by_user_id_and_role_with_user_id_with_role(role:str; user_id:str):GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder +msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|get_by_user_role_with_role(role:str):GetByUserRoleWithRoleRequestBuilder msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|post(body:VirtualEventTownhall; request_configuration?:RequestConfiguration[QueryParameters]):VirtualEventTownhall msgraph.generated.solutions.virtualEvents.townhalls.TownhallsRequestBuilder::|public|request_adapter:RequestAdapter diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 4ea182cb3de..98740773243 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "17158047F4D29D7AC5B136FFEEB42159B62E1A1BF1D6F2C422B4E9A755575702C25F4CFC17F3A75133F961BA5DFF05F411B7410F629AA94B356D0320AB7BAD8C", + "descriptionHash": "2A266C83E5128F78435232C790DE0C41B134CF323FA2D5EB704DAAC3C39EEA634205F3ED6EC8DE64297752B981917408558A02E7A673FE2E0AB8C6AD140E860D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.23.0", diff --git a/msgraph/generated/models/applied_conditional_access_policy.py b/msgraph/generated/models/applied_conditional_access_policy.py index bd2c8107431..7c1889c69f2 100644 --- a/msgraph/generated/models/applied_conditional_access_policy.py +++ b/msgraph/generated/models/applied_conditional_access_policy.py @@ -25,7 +25,7 @@ class AppliedConditionalAccessPolicy(AdditionalDataHolder, BackedModel, Parsable id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + # Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. result: Optional[AppliedConditionalAccessPolicyResult] = None @staticmethod diff --git a/msgraph/generated/models/channel.py b/msgraph/generated/models/channel.py index 1f243075977..79af83e7e5b 100644 --- a/msgraph/generated/models/channel.py +++ b/msgraph/generated/models/channel.py @@ -35,7 +35,7 @@ class Channel(Entity, Parsable): is_favorite_by_default: Optional[bool] = None # A collection of membership records associated with the channel. members: Optional[list[ConversationMember]] = None - # The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + # The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. membership_type: Optional[ChannelMembershipType] = None # A collection of all the messages in the channel. A navigation property. Nullable. messages: Optional[list[ChatMessage]] = None diff --git a/msgraph/generated/models/chat.py b/msgraph/generated/models/chat.py index d5b698d806e..e6045faa026 100644 --- a/msgraph/generated/models/chat.py +++ b/msgraph/generated/models/chat.py @@ -28,6 +28,8 @@ class Chat(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # A collection of all the apps in the chat. Nullable. installed_apps: Optional[list[TeamsAppInstallation]] = None + # Indicates whether the chat is hidden for all its members. Read-only. + is_hidden_for_all_members: Optional[bool] = None # Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. last_message_preview: Optional[ChatMessageInfo] = None # Date and time at which the chat was renamed or the list of members was last changed. Read-only. @@ -99,6 +101,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "chatType": lambda n : setattr(self, 'chat_type', n.get_enum_value(ChatType)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "installedApps": lambda n : setattr(self, 'installed_apps', n.get_collection_of_object_values(TeamsAppInstallation)), + "isHiddenForAllMembers": lambda n : setattr(self, 'is_hidden_for_all_members', n.get_bool_value()), "lastMessagePreview": lambda n : setattr(self, 'last_message_preview', n.get_object_value(ChatMessageInfo)), "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(ConversationMember)), @@ -128,6 +131,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("chatType", self.chat_type) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("installedApps", self.installed_apps) + writer.write_bool_value("isHiddenForAllMembers", self.is_hidden_for_all_members) writer.write_object_value("lastMessagePreview", self.last_message_preview) writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_collection_of_object_values("members", self.members) diff --git a/msgraph/generated/models/chat_message.py b/msgraph/generated/models/chat_message.py index a0c68d80d01..4f1703b3620 100644 --- a/msgraph/generated/models/chat_message.py +++ b/msgraph/generated/models/chat_message.py @@ -52,7 +52,7 @@ class ChatMessage(Entity, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # Locale of the chat message set by the client. Always set to en-us. locale: Optional[str] = None - # List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel. + # List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag. mentions: Optional[list[ChatMessageMention]] = None # List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. message_history: Optional[list[ChatMessageHistoryItem]] = None diff --git a/msgraph/generated/models/chat_message_attachment.py b/msgraph/generated/models/chat_message_attachment.py index 4b4c454aeba..891354928ec 100644 --- a/msgraph/generated/models/chat_message_attachment.py +++ b/msgraph/generated/models/chat_message_attachment.py @@ -14,11 +14,11 @@ class ChatMessageAttachment(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. content: Optional[str] = None - # The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentType that is supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. + # The media type of the content attachment. The possible values are: reference: The attachment is a link to another file. Populate the contentURL with the link to the object.forwardedMessageReference: The attachment is a reference to a forwarded message. Populate the content with the original message context.Any contentType that is supported by the Bot Framework's Attachment object.application/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. content_type: Optional[str] = None # The URL for the content of the attachment. content_url: Optional[str] = None - # Read-only. The unique id of the attachment. + # Read-only. The unique ID of the attachment. id: Optional[str] = None # The name of the attachment. name: Optional[str] = None diff --git a/msgraph/generated/models/chat_message_mention.py b/msgraph/generated/models/chat_message_mention.py index a2125a4c220..ceb0985f7c0 100644 --- a/msgraph/generated/models/chat_message_mention.py +++ b/msgraph/generated/models/chat_message_mention.py @@ -19,7 +19,7 @@ class ChatMessageMention(AdditionalDataHolder, BackedModel, Parsable): id: Optional[int] = None # String used to represent the mention. For example, a user's display name, a team name. mention_text: Optional[str] = None - # The entity (user, application, team, or channel) that was @mentioned. + # The entity (user, application, team, channel, or chat) that was @mentioned. mentioned: Optional[ChatMessageMentionedIdentitySet] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/chat_message_mentioned_identity_set.py b/msgraph/generated/models/chat_message_mentioned_identity_set.py index 3066c16c93a..e7f229bf9c3 100644 --- a/msgraph/generated/models/chat_message_mentioned_identity_set.py +++ b/msgraph/generated/models/chat_message_mentioned_identity_set.py @@ -14,7 +14,7 @@ class ChatMessageMentionedIdentitySet(IdentitySet, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.chatMessageMentionedIdentitySet" - # If present, represents a conversation (for example, team or channel) @mentioned in a message. + # If present, represents a conversation (for example, team, channel, or chat) @mentioned in a message. conversation: Optional[TeamworkConversationIdentity] = None @staticmethod diff --git a/msgraph/generated/models/chat_restrictions.py b/msgraph/generated/models/chat_restrictions.py new file mode 100644 index 00000000000..a3ee3f4ba25 --- /dev/null +++ b/msgraph/generated/models/chat_restrictions.py @@ -0,0 +1,54 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class ChatRestrictions(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) + # The allowTextOnly property + allow_text_only: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ChatRestrictions: + """ + 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: ChatRestrictions + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ChatRestrictions() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "allowTextOnly": lambda n : setattr(self, 'allow_text_only', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', 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 writer is None: + raise TypeError("writer cannot be null.") + writer.write_bool_value("allowTextOnly", self.allow_text_only) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/cloud_pc_device_image.py b/msgraph/generated/models/cloud_pc_device_image.py index ff7b4f99e32..1917edad6ce 100644 --- a/msgraph/generated/models/cloud_pc_device_image.py +++ b/msgraph/generated/models/cloud_pc_device_image.py @@ -17,7 +17,7 @@ class CloudPcDeviceImage(Entity, Parsable): # The display name of the associated device image. The device image display name and the version are used to uniquely identify the Cloud PC device image. Read-only. display_name: Optional[str] = None - # The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. + # The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. error_code: Optional[CloudPcDeviceImageErrorCode] = None # The date when the image became unavailable. Read-only. expiration_date: Optional[datetime.date] = None diff --git a/msgraph/generated/models/cloud_pc_domain_join_configuration.py b/msgraph/generated/models/cloud_pc_domain_join_configuration.py index 559c75f8330..aef0570e0c9 100644 --- a/msgraph/generated/models/cloud_pc_domain_join_configuration.py +++ b/msgraph/generated/models/cloud_pc_domain_join_configuration.py @@ -22,7 +22,7 @@ class CloudPcDomainJoinConfiguration(AdditionalDataHolder, BackedModel, Parsable odata_type: Optional[str] = None # The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Microsoft Entra joined. If you enter an onPremisesConnectionId, leave the regionName property empty. on_premises_connection_id: Optional[str] = None - # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. + # The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. region_group: Optional[CloudPcRegionGroup] = None # The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. Within this region, the Windows 365 service creates and manages the underlying virtual network. This option is available only when the IT admin selects Microsoft Entra joined as the domain join type. If you enter a regionName, leave the onPremisesConnectionId property empty. region_name: Optional[str] = None diff --git a/msgraph/generated/models/education_assignment.py b/msgraph/generated/models/education_assignment.py index 6dbcfbc5132..5840b75a0e0 100644 --- a/msgraph/generated/models/education_assignment.py +++ b/msgraph/generated/models/education_assignment.py @@ -24,7 +24,7 @@ @dataclass class EducationAssignment(Entity, Parsable): - # Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. + # Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None # Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none. Supported values are: none, assignIfOpen. For example, a teacher can use assignIfOpen to indicate that an assignment should be assigned to any new student who joins the class while the assignment is still open, and none to indicate that an assignment shouldn't be assigned to new students. added_student_action: Optional[EducationAddedStudentAction] = None @@ -76,7 +76,7 @@ class EducationAssignment(Entity, Parsable): resources_folder_url: Optional[str] = None # When set, the grading rubric attached to this assignment. rubric: Optional[EducationRubric] = None - # Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. + # Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. status: Optional[EducationAssignmentStatus] = None # Once published, there's a submission object for each student representing their work and grade. Read-only. Nullable. submissions: Optional[list[EducationSubmission]] = None diff --git a/msgraph/generated/models/education_assignment_defaults.py b/msgraph/generated/models/education_assignment_defaults.py index 2705bcef4e6..6c4c6bb3ea9 100644 --- a/msgraph/generated/models/education_assignment_defaults.py +++ b/msgraph/generated/models/education_assignment_defaults.py @@ -14,7 +14,7 @@ @dataclass class EducationAssignmentDefaults(Entity, Parsable): - # Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. + # Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. add_to_calendar_action: Optional[EducationAddToCalendarOptions] = None # Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. added_student_action: Optional[EducationAddedStudentAction] = None diff --git a/msgraph/generated/models/education_submission.py b/msgraph/generated/models/education_submission.py index 52e309d283a..04bfeb810e1 100644 --- a/msgraph/generated/models/education_submission.py +++ b/msgraph/generated/models/education_submission.py @@ -39,7 +39,7 @@ class EducationSubmission(Entity, Parsable): returned_by: Optional[IdentitySet] = None # Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returned_date_time: Optional[datetime.datetime] = None - # Read-only. Possible values are: excused, reassigned, returned, submitted and working. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. + # Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. status: Optional[EducationSubmissionStatus] = None # User who moved the resource into the submitted state. submitted_by: Optional[IdentitySet] = None diff --git a/msgraph/generated/models/external_connectors/property_.py b/msgraph/generated/models/external_connectors/property_.py index ca8a190bd8e..74444ffe154 100644 --- a/msgraph/generated/models/external_connectors/property_.py +++ b/msgraph/generated/models/external_connectors/property_.py @@ -26,7 +26,7 @@ class Property_(AdditionalDataHolder, BackedModel, Parsable): is_retrievable: Optional[bool] = None # Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional. is_searchable: Optional[bool] = None - # Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. + # Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. labels: Optional[list[Label]] = None # The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. name: Optional[str] = None diff --git a/msgraph/generated/models/invited_user_message_info.py b/msgraph/generated/models/invited_user_message_info.py index cd759e01407..b4e92b24a44 100644 --- a/msgraph/generated/models/invited_user_message_info.py +++ b/msgraph/generated/models/invited_user_message_info.py @@ -17,7 +17,7 @@ class InvitedUserMessageInfo(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. cc_recipients: Optional[list[Recipient]] = None - # Customized message body you want to send if you don't want the default message. + # Customized message body you want to send if you don't want the default message. Only plain text is allowed. customized_message_body: Optional[str] = None # The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. message_language: Optional[str] = None diff --git a/msgraph/generated/models/online_meeting.py b/msgraph/generated/models/online_meeting.py index cc3ef3f9be7..f4f3772a584 100644 --- a/msgraph/generated/models/online_meeting.py +++ b/msgraph/generated/models/online_meeting.py @@ -30,6 +30,8 @@ class OnlineMeeting(OnlineMeetingBase, Parsable): external_id: Optional[str] = None # Indicates whether this meeting is a Teams live event. is_broadcast: Optional[bool] = None + # The ID of the meeting template. + meeting_template_id: Optional[str] = None # The participants associated with the online meeting, including the organizer and the attendees. participants: Optional[MeetingParticipants] = None # The recordings of an online meeting. Read-only. @@ -74,6 +76,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()), "externalId": lambda n : setattr(self, 'external_id', n.get_str_value()), "isBroadcast": lambda n : setattr(self, 'is_broadcast', n.get_bool_value()), + "meetingTemplateId": lambda n : setattr(self, 'meeting_template_id', n.get_str_value()), "participants": lambda n : setattr(self, 'participants', n.get_object_value(MeetingParticipants)), "recordings": lambda n : setattr(self, 'recordings', n.get_collection_of_object_values(CallRecording)), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), @@ -98,6 +101,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) writer.write_bool_value("isBroadcast", self.is_broadcast) + writer.write_str_value("meetingTemplateId", self.meeting_template_id) writer.write_object_value("participants", self.participants) writer.write_collection_of_object_values("recordings", self.recordings) writer.write_datetime_value("startDateTime", self.start_date_time) diff --git a/msgraph/generated/models/online_meeting_base.py b/msgraph/generated/models/online_meeting_base.py index 04008e8700a..3e768178ea7 100644 --- a/msgraph/generated/models/online_meeting_base.py +++ b/msgraph/generated/models/online_meeting_base.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions from .entity import Entity from .item_body import ItemBody from .join_meeting_id_settings import JoinMeetingIdSettings @@ -31,8 +32,12 @@ class OnlineMeetingBase(Entity, Parsable): allow_meeting_chat: Optional[MeetingChatMode] = None # Specifies if participants are allowed to rename themselves in an instance of the meeting. allow_participants_to_change_name: Optional[bool] = None + # Indicates whether recording is enabled for the meeting. + allow_recording: Optional[bool] = None # Indicates if Teams reactions are enabled for the meeting. allow_teamwork_reactions: Optional[bool] = None + # Indicates whether transcription is enabled for the meeting. + allow_transcription: Optional[bool] = None # Specifies who can be a presenter in a meeting. allowed_presenters: Optional[OnlineMeetingPresenters] = None # The attendance reports of an online meeting. Read-only. @@ -41,6 +46,8 @@ class OnlineMeetingBase(Entity, Parsable): audio_conferencing: Optional[AudioConferencing] = None # The chat information associated with this online meeting. chat_info: Optional[ChatInfo] = None + # The chatRestrictions property + chat_restrictions: Optional[ChatRestrictions] = None # Indicates whether to announce when callers join or leave. is_entry_exit_announced: Optional[bool] = None # The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. @@ -95,6 +102,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions from .entity import Entity from .item_body import ItemBody from .join_meeting_id_settings import JoinMeetingIdSettings @@ -109,6 +117,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .audio_conferencing import AudioConferencing from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions from .entity import Entity from .item_body import ItemBody from .join_meeting_id_settings import JoinMeetingIdSettings @@ -126,11 +135,14 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "allowAttendeeToEnableMic": lambda n : setattr(self, 'allow_attendee_to_enable_mic', n.get_bool_value()), "allowMeetingChat": lambda n : setattr(self, 'allow_meeting_chat', n.get_enum_value(MeetingChatMode)), "allowParticipantsToChangeName": lambda n : setattr(self, 'allow_participants_to_change_name', n.get_bool_value()), + "allowRecording": lambda n : setattr(self, 'allow_recording', n.get_bool_value()), "allowTeamworkReactions": lambda n : setattr(self, 'allow_teamwork_reactions', n.get_bool_value()), + "allowTranscription": lambda n : setattr(self, 'allow_transcription', n.get_bool_value()), "allowedPresenters": lambda n : setattr(self, 'allowed_presenters', n.get_enum_value(OnlineMeetingPresenters)), "attendanceReports": lambda n : setattr(self, 'attendance_reports', n.get_collection_of_object_values(MeetingAttendanceReport)), "audioConferencing": lambda n : setattr(self, 'audio_conferencing', n.get_object_value(AudioConferencing)), "chatInfo": lambda n : setattr(self, 'chat_info', n.get_object_value(ChatInfo)), + "chatRestrictions": lambda n : setattr(self, 'chat_restrictions', n.get_object_value(ChatRestrictions)), "isEntryExitAnnounced": lambda n : setattr(self, 'is_entry_exit_announced', n.get_bool_value()), "joinInformation": lambda n : setattr(self, 'join_information', n.get_object_value(ItemBody)), "joinMeetingIdSettings": lambda n : setattr(self, 'join_meeting_id_settings', n.get_object_value(JoinMeetingIdSettings)), @@ -159,11 +171,14 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("allowAttendeeToEnableMic", self.allow_attendee_to_enable_mic) writer.write_enum_value("allowMeetingChat", self.allow_meeting_chat) writer.write_bool_value("allowParticipantsToChangeName", self.allow_participants_to_change_name) + writer.write_bool_value("allowRecording", self.allow_recording) writer.write_bool_value("allowTeamworkReactions", self.allow_teamwork_reactions) + writer.write_bool_value("allowTranscription", self.allow_transcription) writer.write_enum_value("allowedPresenters", self.allowed_presenters) writer.write_collection_of_object_values("attendanceReports", self.attendance_reports) writer.write_object_value("audioConferencing", self.audio_conferencing) writer.write_object_value("chatInfo", self.chat_info) + writer.write_object_value("chatRestrictions", self.chat_restrictions) writer.write_bool_value("isEntryExitAnnounced", self.is_entry_exit_announced) writer.write_object_value("joinInformation", self.join_information) writer.write_object_value("joinMeetingIdSettings", self.join_meeting_id_settings) diff --git a/msgraph/generated/models/payload.py b/msgraph/generated/models/payload.py index 7618b5de62f..8bd1b92e8b6 100644 --- a/msgraph/generated/models/payload.py +++ b/msgraph/generated/models/payload.py @@ -65,7 +65,7 @@ class Payload(Entity, Parsable): source: Optional[SimulationContentSource] = None # Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. status: Optional[SimulationContentStatus] = None - # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. technique: Optional[SimulationAttackTechnique] = None # The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. theme: Optional[PayloadTheme] = None diff --git a/msgraph/generated/models/planner_plan_container.py b/msgraph/generated/models/planner_plan_container.py index 16441b252ab..4d1debb8975 100644 --- a/msgraph/generated/models/planner_plan_container.py +++ b/msgraph/generated/models/planner_plan_container.py @@ -19,7 +19,7 @@ class PlannerPlanContainer(AdditionalDataHolder, BackedModel, Parsable): container_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. + # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. type: Optional[PlannerContainerType] = None # The full canonical URL of the container. Optional. url: Optional[str] = None diff --git a/msgraph/generated/models/restore_session_base.py b/msgraph/generated/models/restore_session_base.py index 8113afcedcc..94177489881 100644 --- a/msgraph/generated/models/restore_session_base.py +++ b/msgraph/generated/models/restore_session_base.py @@ -32,7 +32,7 @@ class RestoreSessionBase(Entity, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. + # Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. status: Optional[RestoreSessionStatus] = None @staticmethod diff --git a/msgraph/generated/models/risk_detection.py b/msgraph/generated/models/risk_detection.py index 48f14f80b2e..56d2134be61 100644 --- a/msgraph/generated/models/risk_detection.py +++ b/msgraph/generated/models/risk_detection.py @@ -41,7 +41,7 @@ class RiskDetection(Entity, Parsable): odata_type: Optional[str] = None # Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. request_id: Optional[str] = None - # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. + # Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. risk_detail: Optional[RiskDetail] = None # The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousToken, anomalousUserActivity, anonymizedIPAddress, generic, impossibleTravel, investigationsThreatIntelligence, suspiciousSendingPatterns, leakedCredentials, maliciousIPAddress,malwareInfectedIPAddress, mcasSuspiciousInboxManipulationRules, newCountry, passwordSpray,riskyIPAddress, suspiciousAPITraffic, suspiciousBrowser,suspiciousInboxForwarding, suspiciousIPAddress, tokenIssuerAnomaly, unfamiliarFeatures, unlikelyTravel. If the risk detection is a premium detection, will show generic. For more information about each value, see Risk types and detection. risk_event_type: Optional[str] = None diff --git a/msgraph/generated/models/risk_service_principal_activity.py b/msgraph/generated/models/risk_service_principal_activity.py index 3b8c7429cef..05ad4aeef30 100644 --- a/msgraph/generated/models/risk_service_principal_activity.py +++ b/msgraph/generated/models/risk_service_principal_activity.py @@ -15,7 +15,7 @@ class RiskServicePrincipalActivity(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) - # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. detail: Optional[RiskDetail] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph/generated/models/risky_service_principal.py b/msgraph/generated/models/risky_service_principal.py index f36b0997c51..08619852a29 100644 --- a/msgraph/generated/models/risky_service_principal.py +++ b/msgraph/generated/models/risky_service_principal.py @@ -28,7 +28,7 @@ class RiskyServicePrincipal(Entity, Parsable): is_processing: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. risk_detail: Optional[RiskDetail] = None # The date and time that the risk state was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq). risk_last_updated_date_time: Optional[datetime.datetime] = None diff --git a/msgraph/generated/models/risky_user.py b/msgraph/generated/models/risky_user.py index ee833dc825d..aae1b7f8c8f 100644 --- a/msgraph/generated/models/risky_user.py +++ b/msgraph/generated/models/risky_user.py @@ -24,7 +24,7 @@ class RiskyUser(Entity, Parsable): is_processing: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. + # The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. risk_detail: Optional[RiskDetail] = None # The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. risk_last_updated_date_time: Optional[datetime.datetime] = None diff --git a/msgraph/generated/models/search_request.py b/msgraph/generated/models/search_request.py index ceb80555a3d..d1cf2c8eb2e 100644 --- a/msgraph/generated/models/search_request.py +++ b/msgraph/generated/models/search_request.py @@ -32,7 +32,7 @@ class SearchRequest(AdditionalDataHolder, BackedModel, Parsable): content_sources: Optional[list[str]] = None # This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. enable_top_results: Optional[bool] = None - # One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + # One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. entity_types: Optional[list[EntityType]] = None # Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft Graph connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional. fields: Optional[list[str]] = None diff --git a/msgraph/generated/models/security/alert.py b/msgraph/generated/models/security/alert.py index b7b8d9ab396..d8e3665ad57 100644 --- a/msgraph/generated/models/security/alert.py +++ b/msgraph/generated/models/security/alert.py @@ -41,7 +41,7 @@ class Alert(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # String value describing each alert. description: Optional[str] = None - # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. detection_source: Optional[DetectionSource] = None # The ID of the detector that triggered the alert. detector_id: Optional[str] = None diff --git a/msgraph/generated/models/security/case_operation.py b/msgraph/generated/models/security/case_operation.py index 34503c78e0b..c7ad0a64c04 100644 --- a/msgraph/generated/models/security/case_operation.py +++ b/msgraph/generated/models/security/case_operation.py @@ -24,7 +24,7 @@ @dataclass class CaseOperation(Entity, Parsable): - # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. + # The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. action: Optional[CaseAction] = None # The date and time the operation was completed. completed_date_time: Optional[datetime.datetime] = None diff --git a/msgraph/generated/models/service_principal_risk_detection.py b/msgraph/generated/models/service_principal_risk_detection.py index c692b95780b..c378c600946 100644 --- a/msgraph/generated/models/service_principal_risk_detection.py +++ b/msgraph/generated/models/service_principal_risk_detection.py @@ -19,7 +19,7 @@ @dataclass class ServicePrincipalRiskDetection(Entity, Parsable): - # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. + # Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. activity: Optional[ActivityType] = None # Date and time when the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z activity_date_time: Optional[datetime.datetime] = None @@ -45,7 +45,7 @@ class ServicePrincipalRiskDetection(Entity, Parsable): odata_type: Optional[str] = None # Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq). request_id: Optional[str] = None - # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + # Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. risk_detail: Optional[RiskDetail] = None # The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication. risk_event_type: Optional[str] = None diff --git a/msgraph/generated/models/sign_in.py b/msgraph/generated/models/sign_in.py index cf0fa80c26b..698dc9941b3 100644 --- a/msgraph/generated/models/sign_in.py +++ b/msgraph/generated/models/sign_in.py @@ -49,7 +49,7 @@ class SignIn(Entity, Parsable): resource_display_name: Optional[str] = None # ID of the resource that the user signed into. Supports $filter (eq). resource_id: Optional[str] = None - # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + # The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_detail: Optional[RiskDetail] = None # The riskEventTypes property risk_event_types: Optional[list[RiskEventType]] = None diff --git a/msgraph/generated/models/simulation.py b/msgraph/generated/models/simulation.py index 68cb3270c1d..70c3e49a2bc 100644 --- a/msgraph/generated/models/simulation.py +++ b/msgraph/generated/models/simulation.py @@ -25,7 +25,7 @@ @dataclass class Simulation(Entity, Parsable): - # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + # The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. attack_technique: Optional[SimulationAttackTechnique] = None # Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. attack_type: Optional[SimulationAttackType] = None diff --git a/msgraph/generated/models/subject_rights_request_history.py b/msgraph/generated/models/subject_rights_request_history.py index 2e388f70c2a..e27e5613e3f 100644 --- a/msgraph/generated/models/subject_rights_request_history.py +++ b/msgraph/generated/models/subject_rights_request_history.py @@ -24,7 +24,7 @@ class SubjectRightsRequestHistory(AdditionalDataHolder, BackedModel, Parsable): event_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. + # The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. stage: Optional[SubjectRightsRequestStage] = None # The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. stage_status: Optional[SubjectRightsRequestStageStatus] = None diff --git a/msgraph/generated/models/subject_rights_request_stage_detail.py b/msgraph/generated/models/subject_rights_request_stage_detail.py index a9ffc16ca2a..8f5fa84576f 100644 --- a/msgraph/generated/models/subject_rights_request_stage_detail.py +++ b/msgraph/generated/models/subject_rights_request_stage_detail.py @@ -21,7 +21,7 @@ class SubjectRightsRequestStageDetail(AdditionalDataHolder, BackedModel, Parsabl error: Optional[PublicError] = None # The OdataType property odata_type: Optional[str] = None - # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. + # The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. stage: Optional[SubjectRightsRequestStage] = None # Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. status: Optional[SubjectRightsRequestStageStatus] = None diff --git a/msgraph/generated/models/virtual_event.py b/msgraph/generated/models/virtual_event.py index be7c85e4184..70f4c18e45e 100644 --- a/msgraph/generated/models/virtual_event.py +++ b/msgraph/generated/models/virtual_event.py @@ -9,6 +9,7 @@ from .date_time_time_zone import DateTimeTimeZone from .entity import Entity from .item_body import ItemBody + from .virtual_event_external_information import VirtualEventExternalInformation from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_settings import VirtualEventSettings @@ -28,6 +29,8 @@ class VirtualEvent(Entity, Parsable): display_name: Optional[str] = None # The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. end_date_time: Optional[DateTimeTimeZone] = None + # The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. + external_event_information: Optional[list[VirtualEventExternalInformation]] = None # The OdataType property odata_type: Optional[str] = None # The virtual event presenters. @@ -74,6 +77,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .date_time_time_zone import DateTimeTimeZone from .entity import Entity from .item_body import ItemBody + from .virtual_event_external_information import VirtualEventExternalInformation from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_settings import VirtualEventSettings @@ -85,6 +89,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .date_time_time_zone import DateTimeTimeZone from .entity import Entity from .item_body import ItemBody + from .virtual_event_external_information import VirtualEventExternalInformation from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_settings import VirtualEventSettings @@ -97,6 +102,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "description": lambda n : setattr(self, 'description', n.get_object_value(ItemBody)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_object_value(DateTimeTimeZone)), + "externalEventInformation": lambda n : setattr(self, 'external_event_information', n.get_collection_of_object_values(VirtualEventExternalInformation)), "presenters": lambda n : setattr(self, 'presenters', n.get_collection_of_object_values(VirtualEventPresenter)), "sessions": lambda n : setattr(self, 'sessions', n.get_collection_of_object_values(VirtualEventSession)), "settings": lambda n : setattr(self, 'settings', n.get_object_value(VirtualEventSettings)), @@ -120,6 +126,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("endDateTime", self.end_date_time) + writer.write_collection_of_object_values("externalEventInformation", self.external_event_information) writer.write_collection_of_object_values("presenters", self.presenters) writer.write_collection_of_object_values("sessions", self.sessions) writer.write_object_value("settings", self.settings) diff --git a/msgraph/generated/models/virtual_event_external_information.py b/msgraph/generated/models/virtual_event_external_information.py new file mode 100644 index 00000000000..57783f15010 --- /dev/null +++ b/msgraph/generated/models/virtual_event_external_information.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class VirtualEventExternalInformation(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) + # Identifier of the application that hosts the externalEventId. Read-only. + application_id: Optional[str] = None + # The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. + external_event_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventExternalInformation: + """ + 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: VirtualEventExternalInformation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VirtualEventExternalInformation() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "applicationId": lambda n : setattr(self, 'application_id', n.get_str_value()), + "externalEventId": lambda n : setattr(self, 'external_event_id', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', 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 writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("applicationId", self.application_id) + writer.write_str_value("externalEventId", self.external_event_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/virtual_event_external_registration_information.py b/msgraph/generated/models/virtual_event_external_registration_information.py new file mode 100644 index 00000000000..c8c803c5f1f --- /dev/null +++ b/msgraph/generated/models/virtual_event_external_registration_information.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class VirtualEventExternalRegistrationInformation(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) + # The OdataType property + odata_type: Optional[str] = None + # A URL or string that represents the location from which the registrant registered. Optional. + referrer: Optional[str] = None + # The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. + registration_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> VirtualEventExternalRegistrationInformation: + """ + 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: VirtualEventExternalRegistrationInformation + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return VirtualEventExternalRegistrationInformation() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "referrer": lambda n : setattr(self, 'referrer', n.get_str_value()), + "registrationId": lambda n : setattr(self, 'registration_id', 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 writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("referrer", self.referrer) + writer.write_str_value("registrationId", self.registration_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/virtual_event_registration.py b/msgraph/generated/models/virtual_event_registration.py index 7a545a5cf08..0fb59c8d76d 100644 --- a/msgraph/generated/models/virtual_event_registration.py +++ b/msgraph/generated/models/virtual_event_registration.py @@ -8,6 +8,7 @@ if TYPE_CHECKING: from .entity import Entity from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus + from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer from .virtual_event_session import VirtualEventSession @@ -19,6 +20,8 @@ class VirtualEventRegistration(Entity, Parsable): cancelation_date_time: Optional[datetime.datetime] = None # Email address of the registrant. email: Optional[str] = None + # The external information for a virtual event registration. + external_registration_information: Optional[VirtualEventExternalRegistrationInformation] = None # First name of the registrant. first_name: Optional[str] = None # Last name of the registrant. @@ -58,17 +61,20 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: """ from .entity import Entity from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus + from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer from .virtual_event_session import VirtualEventSession from .entity import Entity from .virtual_event_attendee_registration_status import VirtualEventAttendeeRegistrationStatus + from .virtual_event_external_registration_information import VirtualEventExternalRegistrationInformation from .virtual_event_registration_question_answer import VirtualEventRegistrationQuestionAnswer from .virtual_event_session import VirtualEventSession fields: dict[str, Callable[[Any], None]] = { "cancelationDateTime": lambda n : setattr(self, 'cancelation_date_time', n.get_datetime_value()), "email": lambda n : setattr(self, 'email', n.get_str_value()), + "externalRegistrationInformation": lambda n : setattr(self, 'external_registration_information', n.get_object_value(VirtualEventExternalRegistrationInformation)), "firstName": lambda n : setattr(self, 'first_name', n.get_str_value()), "lastName": lambda n : setattr(self, 'last_name', n.get_str_value()), "preferredLanguage": lambda n : setattr(self, 'preferred_language', n.get_str_value()), @@ -94,6 +100,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_datetime_value("cancelationDateTime", self.cancelation_date_time) writer.write_str_value("email", self.email) + writer.write_object_value("externalRegistrationInformation", self.external_registration_information) writer.write_str_value("firstName", self.first_name) writer.write_str_value("lastName", self.last_name) writer.write_str_value("preferredLanguage", self.preferred_language) diff --git a/msgraph/generated/models/workforce_integration.py b/msgraph/generated/models/workforce_integration.py index d95f5b65b8f..3ad90877741 100644 --- a/msgraph/generated/models/workforce_integration.py +++ b/msgraph/generated/models/workforce_integration.py @@ -20,13 +20,13 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable): api_version: Optional[int] = None # Name of the workforce integration. display_name: Optional[str] = None - # Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. + # Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. eligibility_filtering_enabled_entities: Optional[EligibilityFilteringEnabledEntities] = None # The workforce integration encryption resource. encryption: Optional[WorkforceIntegrationEncryption] = None # Indicates whether this workforce integration is currently active and available. is_active: Optional[bool] = None - # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. + # The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. supported_entities: Optional[WorkforceIntegrationSupportedEntities] = None # Workforce Integration URL for callbacks from the Shifts service. url: Optional[str] = None 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 8714f1a84bf..c2621ada7a5 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 @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of 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/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +118,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: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of 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/sites/item/lists/item/list_item_request_builder.py b/msgraph/generated/sites/item/lists/item/list_item_request_builder.py index c4878267e2e..5ee3c5973e7 100644 --- a/msgraph/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph/generated/sites/item/lists/item/list_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]: """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] - Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?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[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -229,7 +229,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for a list. + Get a list of rich long-running operations associated with a list. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py b/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py new file mode 100644 index 00000000000..80ab0e0a7b0 --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_post_request_body.py @@ -0,0 +1,50 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class SetExternalEventInformationPostRequestBody(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) + # The externalEventId property + external_event_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SetExternalEventInformationPostRequestBody: + """ + 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: SetExternalEventInformationPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SetExternalEventInformationPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "externalEventId": lambda n : setattr(self, 'external_event_id', 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 writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("externalEventId", self.external_event_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py new file mode 100644 index 00000000000..dc831631ac3 --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/events/item/set_external_event_information/set_external_event_information_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .set_external_event_information_post_request_body import SetExternalEventInformationPostRequestBody + +class SetExternalEventInformationRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the setExternalEventInformation method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new SetExternalEventInformationRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", path_parameters) + + async def post(self,body: SetExternalEventInformationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action setExternalEventInformation + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if body is None: + 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, type[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) + + def to_post_request_information(self,body: SetExternalEventInformationPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action setExternalEventInformation + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + 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) -> SetExternalEventInformationRequestBuilder: + """ + 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: SetExternalEventInformationRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SetExternalEventInformationRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class SetExternalEventInformationRequestBuilderPostRequestConfiguration(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/solutions/virtual_events/events/item/virtual_event_item_request_builder.py b/msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py index 64a037c31e1..d7d5a8f7dbe 100644 --- a/msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py +++ b/msgraph/generated/solutions/virtual_events/events/item/virtual_event_item_request_builder.py @@ -20,6 +20,7 @@ from .presenters.presenters_request_builder import PresentersRequestBuilder from .publish.publish_request_builder import PublishRequestBuilder from .sessions.sessions_request_builder import SessionsRequestBuilder + from .set_external_event_information.set_external_event_information_request_builder import SetExternalEventInformationRequestBuilder class VirtualEventItemRequestBuilder(BaseRequestBuilder): """ @@ -178,6 +179,15 @@ def sessions(self) -> SessionsRequestBuilder: return SessionsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def set_external_event_information(self) -> SetExternalEventInformationRequestBuilder: + """ + Provides operations to call the setExternalEventInformation method. + """ + from .set_external_event_information.set_external_event_information_request_builder import SetExternalEventInformationRequestBuilder + + return SetExternalEventInformationRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class VirtualEventItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py new file mode 100644 index 00000000000..e9fe4a914e0 --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_get_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetByUserIdAndRoleWithUserIdWithRoleGetResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[VirtualEventTownhall]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetByUserIdAndRoleWithUserIdWithRoleGetResponse: + """ + 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: GetByUserIdAndRoleWithUserIdWithRoleGetResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetByUserIdAndRoleWithUserIdWithRoleGetResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(VirtualEventTownhall)), + } + 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 writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py new file mode 100644 index 00000000000..61732e10488 --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_id_and_role_with_user_id_with_role/get_by_user_id_and_role_with_user_id_with_role_request_builder.py @@ -0,0 +1,143 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_by_user_id_and_role_with_user_id_with_role_get_response import GetByUserIdAndRoleWithUserIdWithRoleGetResponse + +class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getByUserIdAndRole method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], role: Optional[str] = None, user_id: Optional[str] = None) -> None: + """ + Instantiates a new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder 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. + param role: Usage: role='{role}' + param user_id: Usage: userId='{userId}' + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['role'] = role + path_parameters['userId'] = user_id + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserIdAndRole(userId='{userId}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters]] = None) -> Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse]: + """ + Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-getbyuseridandrole?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_by_user_id_and_role_with_user_id_with_role_get_response import GetByUserIdAndRoleWithUserIdWithRoleGetResponse + + return await self.request_adapter.send_async(request_info, GetByUserIdAndRoleWithUserIdWithRoleGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder: + """ + 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: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters(): + """ + Get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration(RequestConfiguration[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters]): + """ + 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/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py new file mode 100644 index 00000000000..0886eb6546f --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetByUserRoleWithRoleGetResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[VirtualEventTownhall]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> GetByUserRoleWithRoleGetResponse: + """ + 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: GetByUserRoleWithRoleGetResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return GetByUserRoleWithRoleGetResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(VirtualEventTownhall)), + } + 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 writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py new file mode 100644 index 00000000000..41a26a79cf1 --- /dev/null +++ b/msgraph/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py @@ -0,0 +1,141 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_by_user_role_with_role_get_response import GetByUserRoleWithRoleGetResponse + +class GetByUserRoleWithRoleRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getByUserRole method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], role: Optional[str] = None) -> None: + """ + Instantiates a new GetByUserRoleWithRoleRequestBuilder 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. + param role: Usage: role='{role}' + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['role'] = role + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserRole(role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters]] = None) -> Optional[GetByUserRoleWithRoleGetResponse]: + """ + Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetByUserRoleWithRoleGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-getbyuserrole?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_by_user_role_with_role_get_response import GetByUserRoleWithRoleGetResponse + + return await self.request_adapter.send_async(request_info, GetByUserRoleWithRoleGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> GetByUserRoleWithRoleRequestBuilder: + """ + 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: GetByUserRoleWithRoleRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetByUserRoleWithRoleRequestBuilderGetQueryParameters(): + """ + Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[list[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[list[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[list[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration(RequestConfiguration[GetByUserRoleWithRoleRequestBuilderGetQueryParameters]): + """ + 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/solutions/virtual_events/townhalls/townhalls_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py index a2ce61568ef..8662b51b0a1 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +++ b/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py @@ -18,6 +18,8 @@ from ....models.virtual_event_townhall import VirtualEventTownhall from ....models.virtual_event_townhall_collection_response import VirtualEventTownhallCollectionResponse from .count.count_request_builder import CountRequestBuilder + from .get_by_user_id_and_role_with_user_id_with_role.get_by_user_id_and_role_with_user_id_with_role_request_builder import GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder from .item.virtual_event_townhall_item_request_builder import VirtualEventTownhallItemRequestBuilder class TownhallsRequestBuilder(BaseRequestBuilder): @@ -67,6 +69,33 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Townhall return await self.request_adapter.send_async(request_info, VirtualEventTownhallCollectionResponse, error_mapping) + def get_by_user_id_and_role_with_user_id_with_role(self,role: str, user_id: str) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder: + """ + Provides operations to call the getByUserIdAndRole method. + param role: Usage: role='{role}' + param user_id: Usage: userId='{userId}' + Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + """ + if role is None: + raise TypeError("role cannot be null.") + if user_id is None: + raise TypeError("user_id cannot be null.") + from .get_by_user_id_and_role_with_user_id_with_role.get_by_user_id_and_role_with_user_id_with_role_request_builder import GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + + return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, self.path_parameters, role, user_id) + + def get_by_user_role_with_role(self,role: str) -> GetByUserRoleWithRoleRequestBuilder: + """ + Provides operations to call the getByUserRole method. + param role: Usage: role='{role}' + Returns: GetByUserRoleWithRoleRequestBuilder + """ + if role is None: + raise TypeError("role cannot be null.") + from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder + + return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, self.path_parameters, role) + async def post(self,body: VirtualEventTownhall, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[VirtualEventTownhall]: """ Create a new virtualEventTownhall object in draft mode. diff --git a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py index 94557c919d0..a7c95ccd2eb 100644 --- a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MembersR async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py index 8ef273746a8..ea2e3b9890b 100644 --- a/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. + Send a new chatMessage in the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph/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 0e452ac20de..e7a7de2e992 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 @@ -55,11 +55,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MultiTen async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]: """ - Update the properties of a multitenant organization. + 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. 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/multitenantorganization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a multitenant organization. + 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. 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/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index e305b4f7cb9..cde917837fa 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -108,10 +108,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 user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. 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-onboarding-user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -142,10 +142,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 @@ -167,7 +167,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur 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 body is None: raise TypeError("body cannot be null.") @@ -202,7 +202,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: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -213,7 +213,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 """ @@ -923,7 +923,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 0b6df8286b2..b49452ca308 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -53,10 +53,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 @@ -98,7 +98,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 """ @@ -180,7 +180,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: """ diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py index b0d97bb1f61..75cf2d72789 100644 --- a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +++ b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -35,10 +35,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 user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. 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-onboarding-user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = 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 @@ -79,7 +79,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur 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 body is None: raise TypeError("body cannot be null.") @@ -99,7 +99,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a user. + Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = 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 """ @@ -154,7 +154,7 @@ class UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration(Request @dataclass class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): """ - 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: """